How to tell when your ovulating

How do you know when your ovulating? Or dpo is it after your fertility window?