how do i know when i’m ovulating

How am i supposed to know when i am ovulating i want my boyfriend to cum inside me but not while i’m ovulating because i know theres a high risk of pregnancy around then. someone please help