Thanks for query
Probably you are suffering from pain due to unaccustomed exercise.
First you warm up your body for exercises.
Such case happens due to sudden muscle pull.
If it is persistent, you can go for abdominal ultrasound
to exclude other causes.
It is not related to previous typhoid