As the number usage of technology has increased these days. The number of ransomware attacks have also significantly increased throughout the years. Ransomware is an attack made on the device and the victim data or file. It will lock until the victim pays for it. This article is constructed to survey on the technique to prevent the ransomware attack. This article also covers the history and type of ransomware attack. This research is done by reviewing the related articles and categorizing them in a table.