For smooth frosting, ensure your butter and cream cheese are soft. Be sure to sift the confectioners' sugar too. This stops lumps from forming in your frosting.