It's normal.. what I do is bend over and hold my lower stomach before I sneeze or cough that helps
I'm sure its fine. It could possibly just be a round ligament pulling. It can happen when you sneeze, cough or even get up from a sitting or sleeping position too fast. If it hurts for a very long time after it happens and it worries you then call your Dr just to be safe.