I wet my pants when I was younger, particularly in juniors at primary school.
I hated using the school toilets and would always hold it, often until it was too late. All the teachers knew and I was always allowed to go to the toilets during lessons
One time in year 6 we had a horrible supply teacher. In the first lesson I asked if I could go to the toilet and she refused telling me I should have gone before class. Soon after I wee’d in my pants and, as usual, there was a massive puddle under my chair. Some of the other kids told on me and the teacher was horrible. She made me come to the front of the class and you could see my pants were soaked as we had to wear grey school trousers. She accused me of being lazy and doing it on purpose, then told me I’d have to sit in them and suffer for the rest of the day.
I had to wait over 2 hours until lunchtime and I told a nice dinner lady that I’d wee’d in my pants. She took me to reception and found me some spare undies and got me my PE kit, then helped me to get changed.
My wet clothes were just put into a bag and I later gave them to my Mum - which wasn’t a surprise to her as I still had regular poo pants accidents. She never asked the details, but looking back now I wish I’d told her how horrible the teacher had been