In most Photo Editors you wil have a tab called Touch-Up, under this you should find Photo Repair, and then Remove Scratch.
It is then just a matter selecting how wide the scratch/crease is then clicking your mouse at the beginning of the scratch/crease, and then at the end of it.
The programme should then take care of the imperfection.