The good folk at Which? magazine have published this useful page on spotting and dealing with ransomware.
It is all described on this page. Also note the additional links at the bottom of that page for further security ideas and recommendations.
[Web-Ed – I have found the recommended MalwareBytes most effective for occasional use when problems occur – in addition to the continuous use of a solid (free or paid-for) virus and trojan detector/killer]