See, if you are preparing for any of the test, either its IELTS, PTE, CELPIP, CAEL, TOEFL or any other test, it totally depends on you how much time you spend on practicing, how dedicatedly you practice. Generally it takes around 6 weeks to practice and score good in IELTS Test.
So good luck to you, Practice hard and you will definitely score good in IELTS.
Preparing for IELTS usually takes 3–6 weeks, depending on your English language skills in writing, speaking, reading, and listening. It does not take a long time to prepare for IELTS if you are good. Because there are so many books for IELTS preparation on the market, you should first understand the test format and try to answer as many questions as you can.