How long should I wait to change a pad?

I’m pretty new to having a period though I know a lot about it because my best friend has already had hers for two years, but this is only the third month of having a period and I’m bleeding probably like a light to medium amount but I wasn’t sure if I need to change it every time I go to the bathroom if there is a lot, or if I just need to wait. Please help!