kathleen
If your Whirlpool operates anything like a Sears or Kenmore, there is a system called a 'wig-wag' that uses two solenoid switches in conjunction with the timer to shift the transmission through the various cycles: agitate, spin, etc. by lifting or releasing one of two blades that in turn operate the transmission. Sometimes the blades of the wig-wag get stuck and need to be tapped or helped into proper position and maybe also sprayed with WD-40. Other times it could be the solenoid or the timer.
You might find a plate with a model number inside the lid, or on the bottom of the front. If you Google Whirpool's website, they may have info on location this identification plate.
Unless you have some mechanical skills or a helper, I would suggest you don't go and stick your hands into the guts of a washer while it is plugged in. There are a lot of moving parts attached to a strong motor. Also, there is the danger of electric shock.
See if you can find a manual for a Sears/Kenmore washer as it explains the system. I am assuming this is how the Whirlpool works
Dr. Geno
May 2007