Worried

So I just found out yesterday I'm pregnant (period was 4 days late) and well I've been having slight pelvic pain and I can't remember if I had it with my son (he's 3). Anyone else have that this early on? I've had one miscarriage once before and don't want to deal with that again.