To prevent the yoghurt from curdling, ensure that the yoghurt is at room temperature before adding it to the hot pan. Also, stir the curry continuously while cooking over low to medium heat to prevent curdling.