As much as you need to prevent the big attack as you wittle her health down. If you can tank her big attack, you're good.
Also, dont worry if you cant beat her. She is a hidden boss for a reason.