venting

I thought I was doing so well at my job and today got torn to shreds in a performance appraisal. Have never felt so low in my life. To make matters worse, I was told that if my medical issues (PCOS) cause me stress at work then I need to seek help. 😐 
Background on that, I only informed them because some days I'm in pain and need to take care of myself and I can't help that, or other days I just have an off day. 
I'm really thinking about leaving, I put SO much into the centre that I coordinate and my confidence, what I had left of it, is gone.
Am I wrong to think that life is just too short to be unhappy and miserable in a job. Unappreciated after all I do? I'm not healthy!
I've done nothing but cry today and my poor husband... has to watch it. 
What do I do ladies? Do I just quit and find something else? It's so much easier said then done!