If you are struggling to attend the entirety of your online class, I would consider getting in touch with your teacher, telling your situation, and asking them to help you in whatever way possible. Many teachers may be willing to explain the contents of the lesson through email or office hours. A guidance counselor, if available, may also be willing to assist you by talking to teachers for you if they refuse to cooperate. It may also be helpful to talk to your parents and explain to them that you are worried about your grades declining if you are to continue studying from home. They may understand that while this alternative works for some, it does not benefit you.
Hope this helps! Comment below for more questions.