sex at 8 weeks

Can I have sex at 8 weeks??? Or is it dangerous 
I also had a miscarriage last year.