Can anyone tell me what causes a stitch in your side? How do you avoid getting one? How do you make it go away once you have one?

I don't get them but my son (9) does. He has a 3k cross country run tomorrow.

Thanks,