Sharp pains

Anyone experienced any sharp pains in stomach it feels like a stabbing needle pain I had it the other day in the middle of my stomach and now on the right side only lasts a few minutes ... I'm 35 weeks + 2days anyone know what it is?