Do a clean install of Windows 10 and it should work, if the hardware is fine.

Yes, you'll need a Windows 10 install disk or stick. Make one yourself with the Media Creation Tool on any Windows PC you have access to, find a friend or family member that has one, or buy one in a shop that offers more than just a download (but why pay for something that is free to download?).

Tell the installer to format the partition you install on. Or delete the current partition with your favorite bootable partition manager before installing.