If you use the washroom and clean yourself of excretment with running water. Then pray and notice that there is still some excretment left. What is the order of your prayer? Is your wudu still valid? Is your body tahir?

You are required to repeat your prayers after coming to notice this fact.