To stop myself from going on my phone, I try to distract myself by doing something else like reading, doing a word search, playing video games, or cleaning.
Make a schedule of your day. Try to only have an hour of screen time per day. Read or draw instead of going on your phone. Pursue your hobbies instead of going on your iPhone!