Ovulating while on the pill?

Ta
This month I've been showing signs of ovulating like cramps and cm. I've heard that some people do occasionally ovulate on the pill. My question is, if you do happen in o ovulate on the pill, are you still protected from pregnancy?