Sex whilst pregnant

Is it okay to have sex during your first trimester (week 4-5)? I've heard that it doesn't harm your baby but I just want to make sure.