Schedule specific times in your day to dedicate to studying or participating in your online class.
Consider using the "Do Not Disturb" function on your devices (Apple iOS devices, Android devices) or a lockdown browser on your computer when you are trying to manage distraction.
Find a space that is comfortable and allows you to focus. This can be your home base for coursework. Take a look at the elements of a productive study space and physical strategies to support your learning.
Discuss work and class schedules and set boundaries with family or roommates. Proactively addressing these issues and even posting them in writing can help manage frustrations.
Set a schedule for yourself. A schedule can help provide structure and keep you motivated. Include time for exercise and self-care.