Mid 2012 Apple MacBook Pro 13in
It seems likely that your "factory reset" was actually you deleting macOS and everything else from the disk on your Mac. Hopefully you had a backup as doing this erased EVERYTHING on the computer.

The way forward is to use internet recovery to reinstall macOS and then you can restore your applications and documents, pictures, etc. using whatever backup you have standing by for just such an event.