Contact the Indian consulate or use a visa service. The official website for visa applications can be found here: Indian Visa Online by the Government of India. In case you are willing to avail any treatment for your specific ailment, in that case you can apply for Medical visa.