The boy was taken to hospital by paramedics