When you see that the devil has your child by the throat, instead of getting angry at your son for straying from the right path, turn to God. Learn to turn to God in prayer for your children.
Instead of scolding or condemning them, ask God to intervene in your struggles with your children.