External Clock UNO

Hello I have wrongly set Atmega328p uno r3 registers on External clock by another programmer,Now it doesn't work anymore. Any suggestion to recover it? Thanks