Sorry you’re having problems, if you’re going to ride a motorized bicycle you have to be ready to repair it. It’s like driving a antique car, you never know when something happens. If you can post pictures of the bike from each side and from the rear showing the chain path we might be able to help.