There are three ways to cook Sweet Potato in order to mash it: wrapped in foil in the oven (like I did here), cut into small pieces and boiled or in the microwave. The method is up to you, but you need for the sweet potato to be very tender in order to get a smooth, lump-free mash.