You are not forced to accept Windows 10. You can easily reinstall your Previous OS, and it will work fine.
Where written "a pop-up claiming to be a windows update came up. when I clicked on it my computer was infected with ransomware that crashed my computer when I wouldn't pay what they wanted."
Hardly Microsoft's fault if you had infections on the computer that claimed to be from Microsoft. Not having good enough protection to start with or not keeping your computer clean is not the fault of MS.