Welcome to HCM.
If you have completed typhoid
treatment according to your physician than less likely of typhoid again.Feeling of pain could be due post illness weakness.
Now start multivitamin
medicines under your physician's guidance.
Take good healthy diet,drink enough water,fruit juices....
Try to avoid stail food always eat hot and cooked food,it will be helpful to stop recurrence.