Pediatricians manage pain through a combination of pharmacological and non-pharmacological methods. Medications such as analgesics and anti-inflammatory drugs may be prescribed, while techniques like distraction, relaxation exercises, and cognitive-behavioral therapy can also be effective in reducing pain perception.