1. Do not call the number
Fake warnings often show a phone number or ask you to install software. Close the tab and do not call the number or download anything they offer.
2. Remove unknown extensions
Open the extensions page and remove any you do not recognise or did not install. Remove programmes that were installed around the same time.
3. Reset the browser and scan
Reset browser settings to default, check the home page and search engine, then run a reputable security scan on the computer.