Where is the voltage regulator located in 8g...i have heard its in the alternator and i also have heard its in the PCM....?

The second questions is how do you know you have a stuck or sticking valve? or in my case how do you kno wthe head is bad????