This is what's on the Cleveland Clinic's Covid page today:

If I've had COVID-19 should I get vaccinated anyway?

We still recommend that you get the vaccine even if you’ve had COVID-19. However, you may consider waiting 90 days after getting infected as it’s not common to get COVID-19 again within three months of first being infected.