Sexxx question

How long should I wait after having sex with one person to have sex with a different person?

the last one I didn’t have sex at all with but I sucked him and idk I just want to be safe,

this happened like 2 weeks ago