Your pain seems to be a result of delayed onset muscle soreness that appear after vigorous work out or starting any activity after a long time like playing, gyming, swimming etc
Next Steps
It will subside on its own within 2 to 3 days.. meanwhile you can do hot water fomentation on the abdominal muscles