I used to have a few online friends that I was really close to. Last month while I was recovering from surgery, one of them decided to reveal all my darkest secrets to the other. I'm going to refer to them as A (the one who knows the secrets) and B (the one who was told). A wasn't all that trustworthy to me as he'd tell me B's secrets when she wasn't around. Instead of dming me about it, A decided to send a wall of text about it in our group chat.
I didn't know A had told B, so I panicked and left the group chat. I dmed him about it and he didn't really care. We decided to not talk for a while. That night, I realised how awful of a friend he was. I was thinking back on our friendship and noticed that he was racist and just a bad person in general. He also got mad very often, which reminds me of how my dad used to treat my mom (he was emotionally abusive towards her. He died last year due to cancer). A also knows where I live, which terrifies me. He keeps trying to contact me, most of the time just harassing me. I'm scared and don't know what to do. I have a panic attack almost every time I think about A.
Stuff I forgot to mention: I knew them for 3 years, I blocked all communication with them a few weeks ago.