Should you do cardio everyday or every other day?

Or does it not matter? I’m new to going to the gym so just wondering what is best