If your chocolate ganache splits or becomes grainy, you can fix it by placing it in a heat-proof bowl over a pan of simmering water to heat it back up. Stir vigorously until it comes back together. If this doesn't work, try whisking in a small amount of room temperature cream until it comes back together.