Sore belly button 8 weeks pregnant

Patient: Hi i had a c section in 2005 and it was the verticaly one . i am now 8 weeks pregnant and have a terrible belly button pains , my doctor says my muscle are loose i need an operation , my fear is will the pain be worse as my tummy grow , will i be able to carry the baby to full term due to the pain pls help

Symptoms: sore belly button

Doctor: