Hi there...if you have confirmatory positive reports of typhoid and malaria, then take those reports and visit a general physician. They will start you on oral medications (antibiotics and antimalarials) to treat.
If you have been this problem repeatedly then you need to improve your lifestyle, as typhoid usually spreads through contaminated food and malaria through mosquito bite. Try to eat hot, home cooked as much as possible. Clean your house regularly, don't leave any stagnant water around the house, use mosquito nets in the night. And consult the general physician for any further queries.