right side/rib pain?

im 37 weeks and had sharp pains on my right side for a few hours last night.. anyone else experience this and what it could be?