How It's Used. Hydroxyzine works against histamine, a chemical that can cause itching and inflammation. It’s most commonly used for acute conditions, such as insect bites and stings, adverse reactions to vaccinations and blood transfusions, and snakebites. Because it has a sedative property and inhibits activity of the central nervous system, it is sometimes used as a tranquilizer and to treat stress in dogs.