The first step is to observe if symptoms worsen when the child is around pets. Parents can consult a pediatrician who may recommend an allergy test to confirm the diagnosis. Skin prick tests or blood tests can help determine if the child is allergic to pet dander.