Are you putting melted butter in your buttercream? I learnt the hard way the other day it seperated the butter LOL!!!!

I always use my butter at room temp and beat it till its silky then gradually add the icing sugar