Thailand's Prime Minister has declared a state of emergency in an attempt to stop the spread of the virus in the country.