By taking oral medication.
Malaria is a disease caused by mosquito bites
There is no vaccination for malaria, eating fresh veggies won’t get hell since there is no specific diet for it, and inhaler can’t do much then help you breath.
Oral medication is the best and only option to treat malaria.