For use with hot water machines it is recommended to swap out the agitator pad periodically. Most issues with a foamer are related to the agitator pad getting clogged with coil scale or debris in the water.
You can find Replacement Agitator Pads here.