First, don't think of suicide. These are treatable infections.
Repeated malaria could be due to hidden trophozoits in
liver. If you had not taken Primaquine 30 mg tablet for 14 days... That will fix malaria problem.
Repeated typhoid could be due to typhoid carrier status. Test for stool Culture , blood Enteric cultures. Need to give you treatment based on sensitivity for full 2 to 4 weeks duration accordingly.
Next Steps
Go to near by Teaching hospital or Medical College hospital.
Health Tips
Also require to test,
Vitamin B12, Other tests
HBA1C depending on Clinical examination findings.
Don't worry. You will get better.