Little hint for those people who want to be friends with their exs: Have an incredibly nice break up.
I always try my best to break it to them nicely. Or at least not be a bitch when I do break up with them. Don’t fake any of the emotions you’re holding when do it either. A lot of the time I don’t want to break up with anyone I’ve been with, and I was (and still am) a huge crier, so a lot of the time I’m trying my best not to break down.
Then give yourself time before talking to them again. Believe me, this is an important step that many people overlook. I’d say at least 3 months before talking to them is a good thing, but 6 months is optimal.
Hopefully that helps.