Instead, teach your kids how to brainstorm so they can solve their own problems. Calmly say: "Name what's bothering you." Then, encourage your child to brainstorm solutions. You can even call it ...
But when appropriate, after validating your child's feelings and letting them settle down, you could encourage them to get involved in brainstorming a solution to help them feel better.