How to avoid heartbreak in a relationship