Specifically, which scripture are you referring to?
Levicticus 18:22 and 20:13 plus several other discussions on the subject