Asking Allah for forgiveness (Ghufranaka) and thanking Him for removing discomfort and granting health upon exiting.