If it's an auto run DVD try pressing the shift key after inserting the DVD in to the tray. Should stop it auto running. Open Computer or My PC depending on the OS then right click and select "open" only. You should now be able to browse the files and search for the picture you need.
What is ransomware and how do I protect my PC from Petya?