You did not mention if your visa was cancelled or you just went back to India. If your visa was not cancelled then you will have to wait for 2 years from the expiry date of your RP. If your visa was cancelled you should wait for 2 years from the date of exit. You can escape the ban period of 2 years if you can get NOC from your previous Sponsor.