So I’m trying to get pregnant

Do I have sex everyday until I’m ovulating and then stop or do I have sex while I’m ovulating? I’m confused or does it not matter?