Good that you understand your problem and seeking for help. (1) How long are you facing this issue and frequency? (2) Do you live with your family or friends or PG? (3) Whats is the pattern are you observing in your behavior?More insights on your concerns would help to deal in a better way.
Next Steps
Take professional support.
Health Tips
(1) Avoid being alone for the time being (2) Reflect on the thought process (3) Do simple exercises to change your mood