hyundai getz crdi 1.5 3cylinder 2005

With error code P1187, what do I need to replace, all I was told is it means Regulator valve stuck, car keeps cutting out

Keywords: