Kidney stones get in the way

Options
I'm only 21, yet I have kidney stones. It runs in my family and it really gets in the way of exercising when it happens. It puts me out of commission for as long as 4 hours. I hate it. Unfortunately I eat a lot of spinach which actually makes kidney stones worse. It makes me nervous sometimes to go out with my baby and exercising because the pain can be so overwhelming and disabling. Does anyone else have this issue? What do you do if your working out in public and your passing a stone?