orgasm problems!

I used to be able to orgasm whilst being on top of my boyfriend (grinding, rubbing clit against pelvic area) during sex, but the past few times I haven't been able to doing those same motions. Why is this? Should I just not do that for some time and maybe I'll be able to cum again?