I used to wet my pants quite often up until I was about 5 - I was still a major bedwetter too.
Once my wet pants were discovered by parents, I'd be scolded and after they'd pulled down the wet pants and underwear, I'd get a spank across my bum. They would take me into my bedroom and put a clean pair of underwear and pants on me. If we were out, they always had a clean pair of pants and underwear for me to put on. They weren't afraid of spanking me and changing me in public.
I was looked after by my Aunt, instead of going to daycare, and she would remove my wet clothes, put dry underpants on me and then a pair of plastic pants. I spent so much time playing in her yard wearing nothing but plastic pants over the top of my briefs and a singlet or t-shirt.
The time I was at school I had gotten better but there were some very embarrassing accidents in the class room. After being sent to the school nurse, she would find some clean pants for you to wear from the lost property cupboard. You'd have to wear these home and bring them back, washed, the next day - so there was no hiding what had happened.
A soon as I got home, my parents would spank me and then put my nighttime nappy on straightaway. I'd have to play in the yard, watch TV and eat dinner in my nappy. (I was still wearing a nappy to bed until I wash nearly 6.)
They never made me wear plastic pants to school (not that I remember anyway) but I certainly had to wear them on car trips and other high risk times.