If the drum is hitting the side of the washer, either the bearing has gone or worse still, the spider has partially detached from the drum. To repair this involves taking the washer apart, a long job. If it's an old machine, scrap it and buy a new one
Dave
April 2011