Welcome to the forum. this is a kind and supportive place.
You mayy have to look at a few issues that will help you with your anxiety.
You may need to lessen stress levels, to deal with anxiety attacks before norm as they occur, and to learn to understand what triggers situations and take steps to avoid them.
Is there someone at work who is supportive which can help you work out a plan?
is it possible to visit work for an hour or two before you start back and discuss with someone there your concerns and needs.?
Dealing with anxiety attacks is different for everyone and you will know what works for you.
Have you ever tried using an app called Smiling Mind, and using breathing exercises. ?
These are just a few suggestions that may not suit you.
If you browse the Beyond Blue website you may find articles and posts to help
Feel free to post as much as you like.