Yes. Recovering from a COVID-19 infection will help your immune system protect you against being infected with COVID-19 again in the future. However, this does not provide complete protection against COVID-19 and reinfections are common.