Hello! I understand your situation and I’m sorry that you got sick.
I have multiple health problems and these problems cause seizures. Due to it, I couldn’t go to Mass often until now. I really wanted go, but my doctor advised me to “stay home” because seizures can be life-threatening. Illnesses can be different in nature but if it puts you at risk, it is good to take some rest.
I think it’s good to take care of yourself and rest- and you can watch Mass from Catholic channels, such as EWTN. Also, I think it’s good to offer God a prayer and ask for healing, too. I’m praying for you!
Please see a doctor if the sickness get worse! It took me nearly 3 years to find out what’s making me sick (and people around me still don’t understand) so it’s definitely good to seek medical help.
As a person who cannot go to Mass often, there is the Anointing of the Sick which a priest can administer to you by visiting you. Also, you can contact your diocese to see if a priest can bring the Eucharist if you feel sick for a long time. If you need, you can contact your diocese to see if they have services for the sick (even it’s for a short period of time).
I hope you feel better soon and wishing you a fast recovery!
Pax Christi!