The pain in the lower abdomen is likely to pass on its own. It seems that you had strained the abdominal muscle due to constipation. Cold compresses and local analgesic cream application on the lower abdomen would help facilitate the healing. Following measures will keep your bowel motions soft:
1) Avoid constipation by not postponing the urge to defecate; Many over-the-counter options helps speed bowel movements and decrease straining. Duphalac is best.
2) Eat a balanced, high-fiber diet; Increased dietary fiber of 25-30 grams / day. High fiber cereal can help reach this goal quickly.
3) Drink plenty of water and liquids (about 2 liters a day)
4) Regular exercise; this helps in relieving constipation, if any.
5) Avoid excessive pressure and straining during defecation. Don't sit for extended periods, limit this time as much as possible.
6) Avoid irritant foods, chillies and hot herbs and substances.
7) Local ointments applied in anal canal (if you have pain in anus during defecation) which contain xylocaine and vasconstrictors (OTC product).
Please feel free for your follow up questions.
I would be happy to assist you further, if you need any more information.
Thanks for using Just Answer.