Boss made racist remarks

I was told to take a black person out of a rendering because he “did not like black people.” He then proceeded to tell me a story about how he got robbed once like 20 years ago. I have no idea why he would think it’s a good idea to say that to me, especially considered he put me on a PIP the week before for taking half a day longer than expected on a CAD drawing. I don’t really know know CAD and we barely use it, just Revit.

I have no idea what to do in this situation. I haven’t even been here a year and was barely at my last shitshow of a job a year before getting laid off. Feel like my resumes pretty fucked now that my first few years have gone horribly and the job markets shit in my area.