Unpleasant and uncomfortable situations can be golden opportunities to build your discipline.