From this feature it seems that u having bout of depression
,considering u had previous attack also there r chances that u might have Bipolar disorder
or recurrent depression....where extreme mood swings occur...
There is solution for this.... needs detailed evaluation to come to conclusion so u have to meet nearest psychiatrist
personally....he will definately help u to come out of this.
Till then u can try relaxation theropy and breathing exercises..Yoga