sex during pregnancy?

Is it okay to have sex with your boyfriend/husband when you are pregnant? Do people usually? What do people do during the girls 9 months of pregnancy