The best way to prevent clumpy cream cheese is to use room-temperature cream cheese and cut it into small pieces before melting. You can also add milk or cream to help thin it out. If you find that your cream cheese is still clumping, try heating it in the microwave for 10 seconds until it's smooth and creamy.