Anxiety/ panic attacks

I can’t stop having attacks even after being put on Zoloft!!! Please help! Need tips on preventing or overcoming an attack! It’s the worst feeling ever especially being 31 weeks pregnant! :( and for some reason I get them most at night time! Why!?!!