بسم الله الرحمن الرحيم
(Fatwa: 319=319/L)
If you tried to prescribe with complete caution and care and unintentionally committed any mistake and the patient was harmed by it, then you will not be accountable before Allah provided you are a registered physician and have been trained by any medical expert:
قال علیہ السلام: ان اللہ تجاوز عن امتی الخطاٴ والنسیان وما استکرھوا علیہ (مشکوة: 2/584)
Allah knows Best!
Darul Ifta,
Darul Uloom Deoband