Urinary tract infections develop when bacteria collects in urine that has been sitting around in the bladder for awhile. If you are forced repeatedly to hold it , it may put you at risk for other serious problems, including over-stretching of the bladder muscles and kidney failure from the bladder pressure. A teacher forcing you to hold it is not healthy for your intestines, either. Doctors who specialize in problems with the intestines know that it is important to use the bathroom when your intestines first give you the urge. If you are not allowed to use the bathroom when you get the urge, your intestines are put at risk for constipation .
Constipation can be very painful, causing intense belly cramps.
It can set your body up for difficulties in being able to go to the bathroom regularly. If constipation gets serious enough, it can result in a bowel obstruction . A bowel obstruction occurs when your intestinal tract becomes blocked, and waste cannot move itself along. This is dangerous, very painful, and must be treated at the hospital. It puts you at risk for health problems.