Trying to have a baby!!

Are you suppose to have sex before your fertile window or during your fertile window??