The main cause of malaria is mosquito and this can only be defended when you close your door against mosquito.
You can also make sure that the surroundings is well clean and okay so that it will not attracted mosquito.
Likewise one show make sure that water is not pure on the surroundings because it can breed mosquito.