In the US generally people under the age of consent are allowed to have sex with one another though exceptions would be made if the age gap was too large. People the age of consent and older are not allowed to have sex with people below the age of consent, unless they’re married.