It is sometimes very difficult to put kids to bed. Someimes, you feel start feeling sleepy, but the kid is still wide awake and full of energy. Most often it’s due to behaviour and lack of a routine. Rarely, it could be due to a medical reason, specially children with ADHD / Autism etc.
This NHS website has excellent ideas and strategies to tackle sleep problems in children.