Don't invalidate or minimize their feelings in the moment. Even if you have the best intentions, comments like "This isn't a big deal" will only make the person feel misunderstood.