urinating or defecating when afraid/anxious

Write the above sentence using proper case.
Urinating or defecating when afraid/anxious