Preventing pains whislt running

Regularly I get pains below my rib cage to the left and right hand side, how can I prevent this? This gets to me first before actually getting tired, so my distance and ability to run further is capped by these pains, almost like cramps.

Anyway to avoid this before/during running? (Pardon me for misspelling title)
 
Regularly I get pains below my rib cage to the left and right hand side, how can I prevent this? This gets to me first before actually getting tired, so my distance and ability to run further is capped by these pains, almost like cramps.

Anyway to avoid this before/during running? (Pardon me for misspelling title)

here is a good article that may help:
 
Back
Top