cramps but no period

hi recently i have been feeling like ihave cramps down there as if it were my period but that’s been over with and isn’t coming for 15 days. i recently got on the pill tho could that affect it??