Safe Sex/Embarrassing

So, I know this will sound like I'm a slut but I need to know. How long before you have sex with a different guy when you recently had sex with your ex? ( I used a condom, but still want to be safe )