Sex when pregnant

Clare
Is it okay to have sex while just a few weeks pregnant? Thanks x