Cramps ?

Ive been having cramps im not sure if its normal or not? Im a couple weeks pregnant . I dont have them all the time and every once in a while they are sharp pain type cramps?