Breaks from the pill

A couple of times I have taken a break from the pill (stopped taking them until my next period). Does anyone else do this? Is it okay to do?