Make sure that your washing machine is level.
Washing machine constantly off balance. A penny that worked its way out of a pocket a button that fell off a shirt or a wayward sock or other article of clothing. The most common problem is the items being washed. Problems could be faulty balance ring front shocks rear shocks bearings rear drum supportetc machine would have to be disassembled and checked for warndamaged parts.
A full load of towels will wash better than just 2 or 3 towels. Place a straight level on top of the washer to see how much off balance the washing machine is. The vibrations can quickly cause collateral damage so its a problem that needs immediate attention.
Often I have to unplug it from the wall leave it 30 mins then plug it back in and sometimes it will suddenly work and spin the clothes perfectly. The problem can be anything. 2nd link shows an exploded view of the parts of machine.
If a lot of your clothes are heaped on one side of. You can also check if the machine is level use the provided spirit level and does not rock in any direction. The machine needs to be physically close to level or they will get out of balance more often as the spinning tub will be spinning at an angle to the internals and will have less free play in one direction leading to the problem you have.
At best a thumping and jumping machine is a nuisance but at worst an unbalanced machine can. To fix this stop your machine and check inside the drum. The funny thing is it can say out of balance I can then remove everything from the machine so its completely empty then hit go again and it still says out of balance.
Step 2 - Level with Legs. While there is no way to guarantee that you will live with a machine that never has a drum knock itself off-kilter these tips will help prevent it from happening. Uneven surfaceMachine not balanced.