question about diapers

hello mommies im a ftm and have zero experience with babies my question is how do diapers work🙈 ( probably sounds stupid) i mean how often do you change a diaper how do you know if it’s wet and most importantly do you keep your baby in a diaper from

the moment they’re born? i hope im making sense i mean dont they get a rash or

something from

being closed up? i know this question probably sounds really stupid but im

desperate and don’t know who to ask probably not the right groin either 🤦🏼‍♀️