Question: how to have a healthy relationship after a breakup?
Answer: Take some time apart. Even if you both know you want to maintain a friendship, a little space for some time won't hurt. ... 
Respect each other's needs. ... 
Maintain some physical and emotional distance. ... 
Discuss how you'll handle encounters.