Read a lot about mood disorder and try to find out the reasons. Undersatnding yourself is the first step. If you do not understand yourself, you can't find the ways to control your own temper.
Don't confine yourself in a only 1 or 2 places. Go meet shinny happy people around you.