i have several red flags go up when i read this, but we arent allowed to diagnose here. Questioning your reality is a sign that this goes beyond self-harm. If this is not something you have addressed with a therapist, i highly recommend that you do get yourself in with a professional to be evaluated.
take care of yourself and if this continues to happen, do something to where you are not alone. reach out for some help. take care