"O Allah! I seek protection in you from the male and female devil."
Then, one should enter the toilet with the left foot first.
After relieving oneself, one then exits the toilet by stepping out with the right foot first.
"O Allah! I seek you pardon. All praises are due to Allah who has taken away from me the discomfort and granted me relief."