the right time to have sex...

Just curious, when in a relationship you are comfortable in do you have sex? Or should I say how long should you wait in a relationship before having sex? I'm a virgin and just curious about how long into a relationship before it's "appropriate" to have sex.