ovulation

When is my most fertile day?and also is it better to have sex days before ovulation or on my ovulating day?