If your washing machine won’t empty it is also worth checking the filter.
Most washing machines have a filter on the bottom right. Some models have a drain hose to help drain excess water before opening the filter. When you remove the filter it is an idea to have at least one good sized towel to asborb any spills.
When you have removed the filter check all the way in the cavity in case of any foreign objects that are stopping the pump from emptying the water.