Sex when ovulating

I feel like this is a dumb question but any whooooo. If I don’t want to get pregnant, should I not have sex on my ovulation? I don’t know that much about ovulation but isn’t it like a higher risk of pregnancy cause of the egg releasing or something ahh I don’t know. Help :))))