You should receive a vaccine or booster as soon as you complete your isolation (5 days of isolation + 5 days of precautions).  CDC says immunity offered by a vaccine or booster is greater than the immunity obtained after infection.