When i was 11 I got rapid onset OCD, the symptoms more closely relating PANDAS/PANS. It got really bad and I was committed into a hospital. At 15, I started taking antibiotics, Sertraline, and Olanzapine, and as expected, the OCD decreased. The problem is I was never properly diagnosed, and when i turned 18 I stopped taking medication (with doctors approval). After a while, psychotic symptoms returned, and after seeing various neuropsychologists, I was diagnosed with Psychosis. I know PANDAS and OCD in general can cause Psychotic symptoms, but after a couple sessions with my doctor, I realized I've had the psychotic symptoms long before I had OCD, and my magical thinking was more of a response to the psychotic feeling I had. For the first time I'm doubtful about me having had PANDAS (even though symptoms seemed more akin to it than normal OCD). I'm not sure if it was the antibiotics that helped or the olanzapine/sertraline. The problem is I don't know what to do, treat my psychosis, or PANDAS. I no longer have compulsions, but still... And on top of that, the sertraline caused some side effects that still affect me to this day (i am 20).
It's strange because I'm pretty sure I did have PANS or PANDAS, but looking back, I started doing the OCD rituals because of what the psychosis made me feel, to cope with it. I don't know wether psychosis caused OCD or vice versa, so I'm hoping someone can help me out.