If it was originally a Windows 7 device, you should be able to do a reset and have it go back to that version.
However, if it wasn't, you would have to purchase Windows 7 and install it fresh.
In either case, you are going to want to back up everything you want to keep, as all of it would be gone if you don't.