Ovulation?

I know very little about this topic so wanting to ask ... When in the month do you ovulate? Is it before or after your period? And if you're on the pill, this is supposed to stop you from ovulating right ?