In image restoration, the goal is often to bring back a high-quality version of an image from a lower-quality copy of it. In this article, we will investigate one kind of recovery issue, namely recovering photos that have been blurred by noise in digital photographs (sometimes known as "salt and pepper" noise). When subjected to noise at varying frequencies and intensities (30,50,70,90). In this paper, we used the conjugate gradient algorithm to Restorative images and remove noise from them, we developed the conjugate gradient algorithm with three limits using the conjugate condition of Dai and Liao, where the new algorithm achieved the conditions for descent and global convergence under some assumptions. According to the results of the numerical analysis, the recently created approach is unequivocally superior to both the fletcher and reeves (FR) method and the fletcher and reeves three-term (TTFR) metod. Use the structural similarity index measure (SSIM), which is used to measure image quality and the higher its value, the better the result. The original image was compared with all the noisy images and each according to the percentage of noise as well as the images processed with the four methods.