I constantly worry every day about messing up, it's a nightmare.
Does this affect you thinking about this daily?
I can't sleep and I can't concentrate apparently
We all make mistakes and it's good to be careful so that you don't make any mistakes needlessly. However, being so anxious about making mistakes that it causes you to lose sleep and your ability to concentrate indicates that it is a psychological problem. You should reach out and speak with a therapist about your anxiety so you can effective coping strategies and learn to be able to forgive yourself when you make a mistake.
Everyone makes mistakes so I don't see why I'm punished for my mistakes.
Your punishing yourself and being overly critical. I think therapy would be very beneficial for you and help get you back into a good mental state.