There is no limit to the number of attempts for IELTS. You can retake the test as many times as needed to achieve your desired score.