If you find yourself with a separated or almost curdled frosting, it can be from not using the ingredients at room temperature. When your butter is being used cold, it can cause you to have clumps. If the frosting is too thin, you will need more powdered sugar until you reach your desired consistency. It could also be dry or even powdered and if so, add more milk a teaspoon at a time.