Having Sex during pregnant

Nastiti
Is it ok if me and my husband having sex during my pregnancy.i'm 16 th weeks.coz everytime i ask for it my husband kinda scared it would be affect to our baby.