Medications while pregnant

Did anyone continue taking Klonopin while pregnant? If not, what did you switch to? Yes, I’ve talked to my doctor and they told me to wean off but it’s so hard especially with panic disorder. I’ll try not to take it for a couple days and the withdrawal effects are horrible.

I’m just trying to get some opinions