Timeline for changing status from H1 to H4?

I am currently residing in USA in H4,I got my H1B approved on 03/05. Due to unexpected medical reasons I will not be able to work and am planning to stick with my H4. How many days do I have to file for my status change (I539)?