The embodiments of the present invention provide herbal syrup comprising Nigella sativa (Nigella) seed extract and Zingiber officinale (ginger) root extract. The Nigella seeds and ginger roots are identified in a herbarium and confirmed. The Nigella seeds and ginger roots are cleaned and disinfected. After disinfection the Nigella seeds and ginger roots are grinded separately to obtain powder. The powders of Nigella seed and ginger root are treated in a percolator machine to extract thymoquinone and gingerol. The Nigella seed extract and ginger extract are mixed and herbal syrup is made for the patients with abnormal sperm parameters. The dosage of the herbal syrup is 7 ml. The syrup is administered daily during breakfast for 4 months. The sperm count increases gradually from 15 million/ml, 43 million/ml, 89 million/ml and 120 million/ml after four month of administration.