Craving Olives

So my period is due in 4 days, and I have been craving olives a lot the past few days. My husband and I aren't really trying for a baby, but not taking any care. Could it be possible to be pregnant? Also about a week or so ago I was having really sharp pains in my ovaries.