Nuclear fusion is a potential source of energy that could supply the growing needs of the world population for millions of years. Several experimental thermonuclear fusion devices try to understand and control the nuclear fusion process. A very interesting diagnostic called Thomson scattering (TS) is performed in the Spanish fusion device TJ-II. This diagnostic takes images to measure the temperature and density profiles of the plasma, which is heated to very high temperatures to produce fusion plasma. Each image captures spectra of laser light scattered by the plasma under different conditions. Unfortunately, some images are corrupted by noise called stray light that affects the measurement of the profiles. In this work, we propose the use of deep learning models to reduce the stray light that appears in the diagnostic. The proposed approach utilizes a Pix2Pix neural network, which is an image-to-image translation based on a generative adversarial network (GAN). This network learns to translateimages affected by stray light to images without stray light. This allows for the effective removal of the noise that affects the measurements of the TS diagnostic, avoiding the need for manual image processing adjustments. The proposed method shows a better performance, reducing the noise up to 98% inimages, which surpassesprevious works that obtained 85% for the validation dataset.