Sex while pregnant (last pregnancy ended in MC)

Yadi • Married since May/2011, Now mother of a beautiful baby boy!
I've heard it is completely safe to have sex during pregnancy, but my last pregnancy ended up in MC and now I am so scared to loose it that i am also scared to have sex :( I know it is not fair for my DH :( 
​Is it still safe?
​I need advise, help please!
​Thanks.