Why Can’t I get Over my boyfriends past?

I have been diagnosed with anxiety and depression for about four years now. I recently started dating a new guy and I cannot, for the life of me, get over his romantic past with other partners. I keep picturing him having sex with other girls and the images keep replaying over and over in my head and it makes me very upset and brings me almost back into my depression every single night. i almost get physically sick from it. I just am curious to see if anyone else has these problems or if it could be caused from my mental health issues...or any advice on how to combat this would be great.