I got accused of rape at school

I’m in 9th grade, and a girl i don’t even know just accused me or rape, and now they’re investigating me. I really don’t know what to do. Can anyone help? I would never do something like this, I don’t even want to have sex until I’m married. I would never touch a woman without her consent, and now I’m being searched and investigated for rape. Please help me, I don’t know what to do.

EDIT: She created evidence through a pregnancy test. I don’t understand why, but I never touched her.

09/06/22 – Court date decided, June 17th. The school has me on severe surveillance, having a school resource officer in the same room as me every class. They’ve searched my locker 3 times.

10/06/22 – They have a resource officer on the bus with me. We are the only ones who have one.

10/06/22 – The only food I’m allowed to have is a PB&J with water. Wow. You’re kidding, right?

10/13/22 – Exams happening, was escorted to a private room and staying there the whole day. The officer is blocking the door and refusing my right to use the bathroom.