Sex while pregnant

Can you have rough sex while pregnant ? Or should it be avoided