Be sure you understand that the vaccination does not give you immediate immunity. From the CDC:

t typically takes a few weeks for the body to build immunity after vaccination. That means it’s possible a person could be infected with the virus that causes COVID-19 just before or just after vaccination and get sick. This is because the vaccine has not had enough time to provide protection.