Does the BC pill stop ovulation?

I’ve heard that it doesn’t and that it does... does it depend on the type of pill?