Anxiety and work

I have bad anxiety, I am on medication for it and it’s helping a lot but the dose isn’t high. I’m on a baby dose. Sunday it got bad and I asked my doctor to up it and she is. I feel awful but I called in to work because I couldn’t function because of my anxiety. Has anyone else had a similar situation?