Basically, if you want to stop doing something, force yourself to constantly do it – with a deadline. Can’t stop scrolling? Force yourself to only scroll social media for an hour. If you want to quit fast-food, force yourself to only eat fast-food every day for two weeks. If you want to stop doing something, force yourself to overdo it until you just can’t do it anymore. It works even to start doing things: if you struggle, e.g., to work on personal projects, (and you actually like them and sporadically do them), force yourself to not even touch anything like them for a few weeks, and you’ll be super eager. Forced vacations are also inspiring as hell.
Art students get a similar advice: “Every painter has a thousand bad paintings inside of them – get them out of yourself as soon as possible”. Whatever it is you crave and want to stop – just have at it, stuff yourself like a pig and you will look to make an actual change.