How can I put up with my racist brother?

he constantly calls people the n word, he’s 18 and praises the asshole in office....and basically is a typical redneck? We don’t come from those type of people though...so he gets it from his dumbass friends..it’s embarrassing for me in public bc he’s like “look at that ugly (n word)” ugh. I really love everybody until they prove me otherwise. He’s just an embarrassment to be around so that’s why I’m asking what I can do. Thank you

Note: I can’t discuss it with him because he yells and gets mad