The best known cure, in my opinion, for a side stitch, is to put your hand on your head, and blow all your air out. Once you have done this, blow even more air out
. Then when you inhale, try to do it smoothly and slowly. This is more of a quick-fix than prevention, and it isnt perfect, but it could help if you are in trouble.