What happens if you get the vaccine when you are Covid+?

Would you still be eligible to get vaccinated? If yes, could it reduce the efficacy of the vaccine?

What happens if you get the vaccine when you are Covid+?
Would you still be eligible to get vaccinated? If yes, could it reduce the efficacy of the vaccine?