sure you should see a doctor. your problem seems to be related to muscle cramp of external oblique which is on the side and is aggravated while activity. you should try taking a muscle relaxant
, rest for 2-3 days avoid heavy activity, and maintain good posture. rest will be fine. if this doesnt relieve pain sure consult a doctor.