Can you be a bit more specific regarding "acting funny"? For instance, can you cut-n-paste the commands you type and the response that you get from the router?
You can set it back to factory by doing the following:
Router> enable
Router# write erase
Router# reload
This will erase your configuration from NVRAM and reload the router back to the factory default.
Mick.