How do you avoid sex in a long term relationship?

Like if you want to wait with eachother