Having Sex?

How soon in pregnancy is it safe to have sex? And are there any risks/ protection needed? I don't want to sound silly just want to protect pregnancy.