Please help!

How do I know what days I can have sex? I'm very confused about firtile and ovulating days.