- Reduce inputs (social media, etc as you mentioned).
- Exercise daily.
- Eat well. Don’t consume much: caffeine, alcohol, refined sugar.
- Get plenty of sleep.
- Read books.
And seriously consider:
- Speaking to a mental health counselor. They can be heaps of useful.