If your frosting is too runny, add more powdered sugar to thicken it. Chilling the frosting in the refrigerator can also help it firm up before spreading or piping.