To keep cooked yogurt from curdling, whisk in one egg or a small amount of flour or cornstarch.