Hi guys, Ive got a question about porn/game/browsing addiction how you handle this problem?

I had LTR for 5 years (Iam 29 now) and I had a breakup up year ago and the things is Iam somehow stuck in a desperarion.

I have 9-5 job than go to gym and when Iam at home after that all I do is 5 hours gaming,jerking off and browsing sites. This circle continue for almost a year.

Do you have some idea how to break this addiction circle?