First get rid of methods that get you quick dopamine
1. Porn and masturbation
2. Zombie scrolling (facebook, twitter toktok) or news
then
Exercise with a routine
Last but not least now most of your time would be free so find something to do ie work eductation and also find new friends lol...