To prevent cracking, always use room temperature ingredients, avoid overmixing the batter, and bake the cheesecake in a water bath. Also, let the cheesecake cool slowly in the oven before refrigerating.