It is not sex per se - your identification with the body is the impediment to your spiritual growth.
Jaggi VasudevWhether it is suffering or joy, going through experiences in life is not so much of a karma. Depriving yourself of any experience is the big karma.
Jaggi Vasudev