Hernia during pregnancy

I got a hernia around the same time that I found out I was pregnant. I went to the doctor but i’m waiting to hear back from him. I’m worried that this will affect the pregnancy because i’ve never had something like this and i’m not sure what even caused it. I thought it was an ovarian cyst but it turns out it’s not. Has anyone else had a hernia before they found out they were preggo and went on to have a successful pregnancy? Thank you :)