In the early Middle Ages, soldiers in battle wore ring armor and it was simple to lift them up if nature called.
But it could be more difficult when German and Italian blacksmiths started in the 15th century to make solid armor from iron plates.
Fortunately, there were no plates over the buttocks and cleavage.
These areas were protected by movable metal foils around the hips and buttocks. In addition, knights often wore padded breeches to prevent chafing from the heavy armor.
A needy knight would have had his squire remove his lancets and heavy thigh-guards so that he could sit on his crutches and gamble with the pope.
Some armor had a scrotum cover that was easily removed should the knights just need to pee.
If the need came at an unfortunate time, you just had to let nature take its course. It was not considered scandalous because soldiers often suffered from diarrhea during military expeditions.
Fortunately, the knights had a squire to help them clean the armor high and low after the battle.