Having sex while being pregnant

Amber
How long can you go having sex while being pregnant ?