Ovulating???

This is a dumb question but can you ovulate or be “fertile” while on the birth control pill??