What can I do? I don't understand racism and at this point I'm too afraid to ask.
Why are you afraid to inquire?
I was taught racist by my parents. Unfortunately, I realised I am racist
Being racist is wrong and hateful. However, this is something that can be changed.
I don't think I'm ready for that.
It seems you are ready to acknowledge that you are racists and that's a good place to start fixing that problem. Ask question so that you can have a better understanding of why it is wrong.