That would depend on why they're hating and whether they think themselves as hateful. Sometimes people can be hateful because they feel hated, hurt neglected. Sometimes what is perceived as hateful behavior is not hate at all, but fear, or insecurity etc.
Is there a particular person you are thinking of when you ask? What is their backstory? Are they being hateful toward you or someone else?