Avoiding emotional decisions when investing

When investing, we all want to make decisions based on logic. However, emotions can take over during big market swings.