Thanks for your query. Based on the facts that you have posted it appears that you have what is called as Asthenozoospermia
meaning there by percentage of raid forward moving sperm is lower than WHO standard which should be minimum 15 %.
There are no medicines that can increase the motility of sperms.
Consult qualified infertility
specialist for evaluation he will help you for Assisted Reproductive Technique like VIF osr ICSI
to have baby.