In Need of DM Advice

Heyo! I'm not new to the world of D&D but I am new to being a DM, and I was wondering. How do you determine if someone makes a saving throw? Like what do they hafta roll to not be affected by something?