Having problems trying to erase Mac after forgetting password
So I have a 2009 MacBook and forgot the password years ago. I found it today recently and tried to login but couldn’t remember the password. I booted it up using apple recovery and first tried to reinstall OS X El Capitan. I pressed continue and it said “Loading Installation Information”. Then I got an error which said “An error occurred while preparing the installation. Try running this application again.” Then I tried again and I got the same error over and over again. Then I went into disk Utility and tried to delete the first thing on the top on the sidebar like instructions said. It then gave me another error saying, “Erase process has failed. Press Done to continue.” I don’t know if I’m erasing the wrong thing because there is Hitachi HTS545032B9SA02 Media, Mac HD under the Hitachi hard drive, under disk images there is Apple disk image Media, and under that is OS X Base System. I don’t know what else to try so I came here. Any suggestions?