The various embodiments herein provide a herbal medicine for treatment of infertility in women. The medicine includes a tea-spoon of corncockle powder and a tea-spoon of turmeric powder dissolved in a sheep oil. The embodiments herein also provide a method of preparing a medicine for treatment of infertility. According to the method, a corncockle powder and a turmeric powder are prepared and mixed with an animal oil to form a liquid mixture. The mixture is kept for 24 hrs at room temperature. Moreover, the embodiments herein also provide a method of treating infertility in a patient by injecting a dose of 2 cc to 10 cc of the prepared medicine in the vagina of the patient for 3 consecutive days immediately after a completion of a menstrual cycle using a disposable or reusable syringe without a needle.