To prevent curdling, pour Baileys first, then slowly add coffee. Use coffee that's not too hot.