Retain your semen, pray, be thankful, replace bad thoughts volitionally with thoughts of thankfulness and cheerfulness.
Avoid sedentary lifestyles, do some sport, workout, eat fucking well, sleep well, stay hydrated, learn about the dopaminergic system and how our generations are fucking themselves up with drugs alcohol tobacco porn and social media.
Pray, try meditation if you like. keep your back straight.
Know that there are more good people than bad and there are many people that love you.