Needless to say, I don't advise paying if you get infected with ransomware - you'll never see the money again, and there's no guarantee you'll get the program to fix the computer, which is why they make you pay via means that don't offer refunds. Keep backups and be prepared to reimage your computer at any time.