Well, go in the code and start tuning the Kp, Ki and Kd constants. Start with Ki and Kd = 0 and Kp = 1. Then start increasing the values till you get good PID result, so the temperature is not oscillating, not overheating or underheating. You will have to make a lot of tests till you get good results. Keep up!