sounds like pains from constipation to me. maybe just drink alot of water and eat a little bit of healthy food. eat maybe a couple of pieces of fruit. the water should get rid of the constipation. hope you feel better!
Could it have been something you ate, have you worked out what you had for Dinner the evening before, as you had to vomit it sounds food related, Drink plenty and eat lightly if you still get pain a visit to the Doc would be good.