My best advice for studying at home is to try to not find silly little things on the internet to distract you (like what writing this is for me). You won’t enjoy them so they won’t make you feel good, but instead you’ll feel bad for not doing any work. To help me not feel the need to go on random websites, I find it useful to have something non-distracting to passively entertain me in the background. For me, this is usually a TV series I’ve already watched multiple times. This means I don’t need to give it any attention to follow, so I’m not distracted from my work.