Meds switch

I recently (like 2 weeks ago) hot diagnosed bipolar. I have also been working through ppd/ppa. My psychiatrist switched my meds to something else. How long do the withdrawal symptoms of coming off the first med last. I am flipping miserable.