Yes. Seeking treatment is allowed and encouraged, and it does not go against trust in Allah. The Quran forbids casting oneself into destruction (2:195). Treatment must not use anything haram if a lawful alternative exists, and haram medicine is allowed only in necessity.
Na toeni katika njia ya Mwenyezi Mungu, wala msijitie kwa mikono yenu katika maangamizo. Na fanyeni wema. Hakika Mwenyezi Mungu huwapenda wafanyao wema.
This is general information, not a fatwa. For your own situation, ask a qualified scholar.
Questions about halal and haram
Is it permitted to seek medical treatment?
Yes. Seeking treatment is allowed and encouraged, and it does not go against trust in Allah. The Quran forbids casting oneself into destruction (2:195). Treatment must not use anything haram if a lawful alternative exists, and haram medicine is allowed only in necessity.