Washer noise

I have a GE profile top load washing machine. During the agitate cycle, it makes a banging noise but not during the spin cycle. After washing, if I run the drain and spin cycle it doesn’t seem to do it as bad. Any suggestions?