Fertile and ovulating

Can some please explain fertile and ovulation? Is it ok to have sex? How does it work? What's the difference? Please help!