Yes, you can and should get the vaccine if you previously were infected with the COVID-19 virus. The CDC recommends you get vaccinated even if you have already had COVID-19 because you can catch it more than once. While you may have some short-term antibody protection after recovering from COVID-19, there is some uncertainty over how long this protection lasts.

The CDC recommends that you get vaccinated even if you have already had COVID-19 because you can catch it more than once.  You can receive the vaccine any time after you are done with your isolation period and your symptoms have resolved, but since you have antibodies for that 90 day period and re-infection is not likely during that timeframe, you can choose to wait until after 90 days to get immunized.