Dear, do introspection n try to find out cause. May be there is some incident behind it. If you will find out the incident or happening behind your changed attitude then it will be very easier for you to overcome your weakness. I, myself have experienced that after a major jolt in my life, my nature n behaviour changed, which i was unaware of. Rather due to this, i suffered some medical issues as well due to overflow of emotions but as soon as I realised and found the cause, it became easier for me to overcome the problem. Gradually, I became normal.
Meditation for a few minutes will help you.