Even if you're vaccinated you can still catch, and transmit, Covid – you just don't get it as seriously as if you weren't vaccinated – especially the 'Delta variant' which is now everywhere.
The Possibility of COVID-19 after Vaccination: Breakthrough Infections
Remember also that some people are advised not to be vaccinated, eg those with severe allergic reactions or people with certain autoimmune conditions.