Hi Sharon,
You'd want to locate the source of the noise, is it from the motor, or the rear cogs or the chain.
If the noise comes from the motor, remove the chain, turn the motor on and post a video if you can.
If the noise comes from the rear cogs, check the gear indexing, any bike shop can fix...