Can malaria be prevented? Are there ways to prevent malaria?

Possible. If you are going to an endemic area, you can have your doctor prescribe prophylactic medication and start taking it before you go there, keep taking it while you are there and one week more after returning from there, you should wear long sleeves, mosquito repellent, use mosquito net over your bed when you go to sleep, avoid swampy area, standing waters (more info in cdc wedsite).