There are no restrictions on re-taking IELTS. You can book a test as soon as you feel you are ready to do so.
Please note that your score is unlikely to increase unless you make a significant effort to improve your English before re-taking the test. Visit the preparation section to take a practice test and assess your level.