To prevent chocolate from seizing or becoming grainy, it's important to handle it carefully. Avoid introducing moisture to the chocolate, as even a small amount can cause it to seize. Use dry utensils, make sure the bowl and any equipment are completely dry, and melt the chocolate in short bursts in the microwave so it doesn't get too hot, use or a double boiler, stirring continuously until smooth.