Pain medication should only be given to a toddler after consulting a pediatrician or medical professional. Some medications can interact with other treatments or lead to complications, so it is important to seek medical advice before administering any medication.