Kid rides electric bike with broken chain

my bike chain fell to the side of the back gear on my ebike so whenever the back wheel is spinning, and the petal assist is on, the bike starts going by its self