Don’t panic - this is ok. It is often the result of your mixture still being a bit warm and your butter being too cold. Keep calm and keep whisking, your frosting will eventually come together.