What do I do right now I'm confused?

What do I do my black boyfriend (had to say this because of what it's about) tested me with racism yo see how I woukd react and I passed his test but he said a few words that hurt me like "you deserve death" and my people, I understand what he means by my people as they are assholes but when he said ne it hurt. I'm trying to brush it off but what's the right thing to do.
What do I do right now I'm confused?
Post Opinion