If you test positive for COVID-19 before a flight, do not go to the airport. Stay home and self isolate, and see if you can use your credit card's trip insurance to reschedule. While this is largely the recommendation, note that it is not legally required that you cancel or reschedule your flight if you test positive for COVID-19.