Have you tried not caring about trivial matters such as race?
it's probably too late
your best bet is to watch gore videos starring white people so that you can hate everyone equally. once you're genuinely misanthropist it wraps back to not being racist
If your malicious thoughts don’t manifest into meaningful action I wouldn’t even worry about. Dream of all the genocide and racially motivated pogroms you want thought crime by itself isn’t real crime. Of course if you genuinely have an uncomfortable racial hatred that consumes your every waking thought you might need a doctor and some meds as it could be some other issue that is simply using racial hatred as an outlet.