The only thing that needs to be said is called self-control.
So those things like sweets, cake, games, TV, music, apps, porn, vacations, etc., etc. these can be nice distractions and sometimes very needed to take a break from work but just don’t overdo them.
Self-control. Everything in moderation, and you’ll be fine.