Most of all, washing machines vibrate a bit while spinning and washing clothes. But in case your machine having too much vibration along with loud noises and it moving across the floor surface frequently, then you should check such few things,
Make sure that your washing machine keeps on a flat surface, avoid keeping it in washrooms and similar surfaces with slant floors. Washrooms have such slanting floor surfaces that drain the water through the hole drainage.
Do not use it on thick mats or carpets.
Inspect the foot of the machine. Make sure this, four supporting feet, are rightly placed. Bent or broken foot needs immediate replacement.
Moreover, while you are using a trolley or stand, check whether it is broken, cracked, or not. If its wheels are excess loose, it may cause the washing machine to move across the floor. Fix it by tightening the wheel joints.