Anxiety/ depression after multi losses

Has anyone been put on medication for anxiety, depression, & nightmares after multiple losses? I had a miscarriage in May & an ectopic s/p surgery resulting in losing a tube on 12/20/19. I’ve been having horrific nightmares of miscarrying twins. I have in the past before my losses, been on Wellbutrin and Buspirone. I was just wondering if anyone tried anything different with a good result. I’ve never had nightmares until after surgery. I plan to talk with my doctor at my post op appointment in regards to this as well.