PID coding

I have a PID and it drives forward and backwards perfect, but when I have the robot turn it will turn forever and never stop. Any suggestions?

Are you tracking your current angular position with IMU sensors or encoders? Additionally it would be easier for us here on the VEX Forums to help you if you posted your code.

Show us your code, please. We can’t help you without that.