I would ask your doctor, especially if it still hurts in 2-3 weeks when you cough, sneeze or laugh. There's too many variables for anyone here to really provide advice based on similar experience - is it just one rib, broken or cracked, upper or lower, left or right, internal organs affected, etc.
Avoiding any jarring rides that would place a strain on your upper torso is probably a given, but depending on your sense of humor even something like Monsters Inc Laugh Floor could present a problem.