Take pleasure in the small things and focus on the present. Be pleasant inwards and it will resonate outwards.
I've been through a rough patch too, and it took several months of loneliness spiraling, a car collision, souring relationships until I relearned this truth.
I did a Bible study on the Screw Tape Letters by C.S. Lewis and it helped change my view of myself and the world.