It depends why you failed the interview.
If you fail the interview due to misrepresentation (providing false information), then you will probably be banned from re-applying for two years.
If fail the interview due to other reasons (e.g. you don't have the right experience / education), then you can re-apply immediately. However before re-applying, you should make sure you address the reasons why you were refused (otherwise you'll likely be refused again).