There is no miracle remedy, but it will help to remove it from the heat immediately. You could try straining it into a cold dish sitting in a bowl of ice cubes and beating it vigorously, or you could try to rescue it by blending or processing it. This might restore some of the smoothness, and if it is not too overcooked it can still be used, but the flavor will be affected. Another way of partially recovering curdled custard is to whiz it in the blender with a small amount of cooled custard made quickly with about 1 tablespoon of custard powder.
** Asian Recipes