Police and emergency services are working around the clock to investigate an attack that has infected more than 300,000 computers worldwide.

The cyber attacks on the UK government, private organisations and financial firms, which have caused the loss of more than $200m (£150m) in revenues, have also seen a number of high-profile figures, including David Cameron, step down from their posts.

This is a huge blow to the country, but we’ll be here for you when you need us most, said Police Scotland’s Assistant Chief Constable Mike Hinchliffe.

We have taken a number to our headquarters to support our investigation, and will provide more information in due course.

A number of organisations and organisations around the world have taken measures to address this threat, with organisations including Twitter, Facebook and Google providing updates on their systems and updating their software to protect users.

It is very important to us that we are always vigilant and take all appropriate actions to protect ourselves and our users, said Chief Inspector John Larkin.

For those affected, it is important to remember the importance of maintaining their data in order to safeguard our financial systems, he added.

Cyber security is a priority for our national security and the police are here to help, said Inspector Larkin, who is in charge of the Scotland Yard Cyber Security Unit.

While the UK Government and financial institutions have been alerted to the threat, the public are being encouraged to update their software and ensure that they are not vulnerable to the malicious software.

You can also visit our Cyber Security webpage for more information.

What is WannaCry?

WannaCrack ransomware is a malware that has been spreading worldwide and infecting computers and phones across the world.

Wake up to the latest news and keep up with the latest headlines by downloading the BBC News app.

What can you do?

Read more about ransomware in the BBC Wales news release.

If you or someone you know needs help, call the Samaritans on 116 123.

You can visit Samaritans’ website or chat to one of its members on Facebook, Twitter, or via their app.

If you need help or are unsure about your rights as a consumer, contact your local consumer protection authority.