One option is to make short term use of distance education technologies such as Microsoft Teams to hold synchronous online sessions at your usual class time. Such short term use shouldn’t extend beyond five consecutive weekdays.
A second, if you plan to miss no more than one in-person session, you can consider canceling your class session and creating an asynchronous assignment using distance education technology such as Canvas. This option should not be used to cover more than a single class session given that students signed up for an in-person class and have a right to expect synchronous instruction. If you are unable to return to the classroom after canceling one class session, consider either making short term use of distance education technology to hold synchronous online sessions at your usual class time or taking sick leave.
A final option to consider (especially if you are experiencing significant symptoms) is simply canceling the class without making short term use of distance education technology as you might have done in similar circumstances pre-pandemic.