Advice please, first pregnancy.

Im five weeks and six days pregnant. Every so often I get really sharp pains in my left lower side and it shoots down lower like to my vaginal area. I'm worried about miscarriage I don't want my baby to be in danger. Should I go to the doctor?