You should immediately shut down your computer. Once you start it up again, make sure the Internet connection or any network connection is cut off. I'd also recommend scanning your PC with an atnimalware or antivirus tool to be sure that nothing has been installed. Hopefully, the scammer did not get any of your personal or otherwise sensitive information.