Sex after pregnancy

I'm young but just curious to know if you have unprotected sex whilst pregnant would it matter?