Spotting/Cramps/Rhogam Shot

I have been on Vacation for the last 5 days and today I had red/brown spotting with some cramps (like a period cramp). I called the doctor and they are wanting to see me tomorrow for a Sonogram and Rhogam shot because I am A- .. I am now freaking out. Anyone else had anything similar?