The pill

I’m not exactly sure how the pill works, does it completely stop your period while you’re taking it and then you get it again once you stop taking it ?? Or is that just a certain type of pill? Sorry if that’s a dumb question I’m just making sure