Cutting while asleep

Not sure if this is the right place for this but I really could use advice or if anyone can relate. Today was one of my bad days where I lay in bed and sleep my day away. I had some very odd dreams about certain things coming to light and the dreams were definitely a trigger. In my dream I ended up cutting myself. I woke up in bed still but here is the weird thing I ended up cutting myself and I’m so confused on how this happened I’ve never done this before. I mean cutting yes but having no recollection and doing it while asleep no. Am I officially losing it??