Distracted driving is an ongoing safety threat. Today’s phones can detect when you’re at the wheel and automatically respond to incoming text messages with a note explaining that you’re on the road and will be in touch later.
On an iPhone: Go to Settings > Do Not Disturb > Do not disturb while driving > Activate.
On an Android phone: Go to Settings > Sound > Do Not Disturb > Turn on automatically > Add rule > Driving. If that doesn’t work, download Google’s free Android Auto app.