Side Stitches?

I rarely get “side stitches” (the tight cramp like feeling in your abdominal region) but when I do get them they can get so bad I almost can’t even finish the workout.

What are ways to prevent these? And also, if I do get them in a workout, what are some tips for making them go away quickly?

Thank you.