"Safe Zone"

Alissa
I am 9 weeks pregnant and I was told by doctors that I am at a higher risk of miscarring because I had a botched surgery last weeks causing a really bad infection and then I had to get another surgery within 3 days of the botched one to get rid of the infection. The surgeon said that because of the anesthetics that I'd be a much higher risk. I later went to see my OBGYN and she said that the infection was more deadly to my baby then the anesthetics itself. So now the infection is gone can I still a high risk? I'm having weird stomach pains and cramping but no spotting or bleeding. I'm not sure anyone can answer this besides my doctor but I'm just nervous and I don't want to lose my baby. So what is considered the safe zone of miscarring?