The CDC says that people who have gotten sick with COVID-19 may still benefit from getting vaccinated. Due to the severe health risks associated with COVID-19 and the fact that re-infection with COVID-19 is possible, people may be advised to get a COVID-19 vaccine even if they have been sick with COVID-19 before. You would need to follow up with your health care provider.
According to the CDC, the protection someone gains from having an infection, called “natural immunity,” varies depending on the disease, and it varies from person to person. Because the COVID-19 virus is new, we don’t know how long natural immunity might last. Current evidence suggests that getting the virus again is uncommon in the 90 days after your first infection with the virus that causes COVID-19.