You can enjoy Windows 10 on your Apple Mac with the help of Boot Camp Assistant. Once installed, it allows you to easily switch between macOS and Windows by simply restarting your Mac.
For details and installation steps, follow the instructions at https://support.apple.com/HT201468. If you need more help, please contact Apple support by clicking the link at the bottom of that webpage.