Baking soda and lemon juice are universal agents in the fight against dirty pans. First, fill the pan with hot water and let it sit for a while to soften the dirt.