When paracetamol is contraindicated or ineffective, other analgesics and antipyretics may be considered. Ibuprofen is one alternative, though its use in neonates is less common due to potential renal side effects. Opioids like morphine are used for severe pain, but with caution due to risks of respiratory depression.