It is easy to invest when markets are rallying, but it can be tough for investors to stay in their seats when markets inevitably decline again.