As it has a drum brake it could be that or the internal motor clutch/nylon planetary gears are damaged, it will need the wheel removing and someone competent to open it to have a look at both parts, unfortunately a bike shop will not have a clue so it needs a more specialist seller or a diy...