Get the latest from TODAY

Sign up for our newsletter
 / Updated  / Source: TODAY
By Dr. Deborah Gilboa

It’s understandable why the American Academy of Pediatrics, in its most recent guidelines, urges parents to stop handing our kids a screen in response to a tantrum. It makes sense, because kids need coping skills. If we hand them a screen every time they're unhappy — just like if we hand them chocolate every time they're unhappy — we're setting them up for problems in the future.

READ MORE: 12 ways to calm your kid's tantrum without technology

But parents live in the real world, and sometimes we don't have it all together. And every once in a while, a screen is actually the best thing for your child.

1. When you're the one having the tantrum

The truth is, sometimes it's the grownup who's losing it in the moment. We're bigger, and stronger and yell louder. So, if an adult is at the very edge of control, it's much safer to let a child be distracted by a screen than to let them become the focus of our anger or bad behavior.

READ MORE: Kids and technology: What are your house rules?

2. When you're keeping a promise.

If your child is using screen time that you already agreed to but is having a tantrum because something isn't going quite right — the internet connection won't work or the game keeps glitching or you don't have the video you thought you did — you don't have to turn off the screen entirely. Finding another screen option in that moment is just fine. That teaches problem-solving. If you notice that your child often has trouble regulating his emotions around technology, that might be a sign he's getting over-stimulated. Which is a good reason to think of reducing screens in his life, but it doesn't have to be right this minute.

3. When it affects other people.

One of the things we have to consider as parents is our impact on those around us. Occasionally we're on a bus or plane, or in another crowded public place and others are stuck there with us. If they can't escape, that's a totally reasonable time to quiet your child by whatever legal, ethical means you can.

READ MORE: Putting the devices down: How unplugging tuned me back in to my family

4. When they're a danger to themselves or others.

If your child is so out of control that they are in real danger of causing physical harm to you or themselves or someone nearby, that would be a time that a screen is definitely the better of two not-good choices. If your child often ends up physically violent as a part of a tantrum, this is worth talking to your child's doctor about because you might need some more management strategies.

Never miss a parenting story with TODAY's newsletters! Sign up here

Most of the time our kids are better off if we can teach them to manage their emotions through interaction with us. But resilience shows up in all kinds of different forms. And occasionally that form is Daniel Tiger on YouTube.

TODAY Tastemaker Dr. Debi Gilboa is a family physician and mom of four boys. Read more from her here.

This story was originally published October 24, 2016.