ovulation??

how do I track my ovulation if i’m on the pill so I can avoid having sex during that time?