Hello
To avoid having negative thoughts, you can try distracting yourself whenever such thoughts come to your mind by engaging yourself in multiple other activities that you like. Also try meditation twice a day to keep your mind calm and composed. Also socialize, watch motivational videos, discuss things with someone close and try to take things in a positive manner to avoid causing negativity.
Health Tips
meditate, socialize, engage in hobbies, watch motivational videos