Performing Wudu
we are obliged to wash our face and body. no matter what is on them. if a thing like pant is there, which stops water, even then, there is no harm. just wash the parts and your wudu and Ghusal is done.