how the fuck do i get rid of this shit? it's preventing me from doing more important stuff

I do lift, but this week ive have spent most of my time playing games like a fucking faggot. Could be working instead of gaming, but obviously gaming is much more interesting. How do i change this mindset? Shit