If your frosting is too runny, try putting it in the refrigerator first, for at least 2 hours. If that doesn't help, you can add a few additional tablespoons of powdered sugar. However, be aware of making your frosting too sweet. If that doesn't help either, try mixing in 1 tbsp of cornstarch or cacao powder (for a chocolate frosting).