To prevent curdling, make sure to slowly incorporate the dairy into the sauce over low heat. Avoid boiling the sauce vigorously after adding the dairy.