There could be a million different things going on, see a PT or doctor or someone qualified to help.

Likely there is some rehab program, and some modifications you can make to abdominal exercises so they are no longer painful.

So yeah, seek the help of a professional.