If a child is experiencing pain, the doctor may also recommend a pain reliever. Following the doctor's instructions is very important. Once started, an antibiotic should be taken for as long as it is prescribed.