Messed up cd rom, NEED HELP

is there a program that burns a messed up scratched up cd rom to a brand new blank disk and be perfect again(the scratches look only like surface scratces but my cd rom wont play it or burn it)preferlably a free program.
i messed up and let a friend borrow a cd rom and he didnt take good care of it by the way :a :a

Clean the media properly, then use a imager software to create and burn it to another media.