Part of building confidence is learning how to cope with all types of situations.