I'm experiencing some pain during my first trimester of pregnancy, and it only lasts for a minute or so each time. I'm starting to get worried because I've heard this could be a sign of an ectopic pregnancy. Could you help me understand what's going on?