Starting again

I’ve tried sertraline a few times over the past 12 years, and I’ve been prescribed it again for anxiety/panic attacks and my ongoing depression. This time it’s more so for my anxiety and suicidal thoughts. I’m hopeful that it’s going to help this time, as before I was in a bad situation so I wouldn’t have really known if it was helping or not. Now I’m in a better place in my life but suddenly struggling with panic attacks out of nowhere.

Has anyone else been taking it for anxiety rather than depression?

Anything in particular that helps in the first few weeks to get over the bumpy parts that make me want to quit before it gets good?