Answer:
There are lots of different ways to keep from distracting yourself. Distance yourself from all other devices you won't be using during the day. Start your day with a healthy breakfast instead of skipping it. Keep your school materials organized, whether they're virtual or offline.
Set a schedule to take small breaks in between to prevent feeling too fatigued. If you focus better with music, play some lofi or a favorite playlist at a low volume.
Good luck, hope this helped!