I have found that using social media pointlessly has led to most of my relapses. I have found that just completely removing them from your life is the best option. Sure you will be bored for the first week or two not pointlessly scrolling through feeds, but what are you really gaining from seeing peoples lives that you don't care about. Read a book, go exercise , or go out and have real life experiences. If you actually care about someone and want to know what is going on in their life text them or call them, or even better go meet them and talk in person.