I'm sorry about the issue. That was a scam; please do not follow any instruction from that person. This is a scam in order to get your money and/or your data / information from you and your computer. No one is able to know if your computer is hacked or if there is any issue with your computer. The scammer was giving you fake information in order to scam you.
As long as your computer is working fine, then you do not need to worry about anything. Please always ignore any phone call or message from anyone that you do not know or that you are not expecting.
Do you have any further question? And/or is your computer having any issue?
Please reply at the box below. Thank you,