In Windows 10, go to Settings (either through Start>Settings or WindowsKey+I), then open up Update and Security. From there, go to Recovery.
Here you will find an option to go back to 8.1. This is only available for 30 days after upgrading to Windows 10, and must be done during that first 30 days.