Try to be strong and stay away and spend some time thinking about how you can avoid getting into that situation again. It's also important to keep in mind that emotional abuse is also partly your fault as you allow it and put up with them. Someone who knows how to take care of themselves and feel they deserve better won't stand for it, and there are ways to make even guys with abusive tendencies treat you decently, even if it's better to avoid them in the first place. Abusers have no respect for those who let them abuse them and just standing up for yourself can make them treat you better.
You can't always help who you fall in love with and I think there's always someone who can make someone treat them well in a relationship. Though emotional abuse can be hard to stop or avoid as often it's not anything to do with what someone says or does, but can be more just in their emotional attitude or way they make you feel, and you can't always get someone to admit they are acting abusively towards you. For many it can be something subconscious they just take pleasure in but aren't willing to admit to themselves or anyone else. But someone who consistently makes you feel bad can be said to be abusive, no matter how they might rationalise it, while someone who really makes you feel good are rare and should be treasured.