It's normal for a washing machine to shake a little bit.
But if it's shaking bad enough to vibrate the house then it's most likely not level and needs to be leveled up.
You level a washing machine by using a bubble level and adjusting the legs on the bottom.
The washing machine should be level from front to back and left to right.