My boyfriend is hateful?

if your boyfriend/girlfriend gets hateful to you when arguing (calling you names and saying things to purposefully hurt you) when would you draw the line? like how many times would you try to talk to them about how it makes you feel and if they kept on what would you do?