Doing the "deed"

Is there a point during the pregnancy when it is no longer "safe" to have sex?