The rule of thumb for pruning azaleas is “The sooner the better.”
If you prune in early spring before the plants produces new growth it will give the plant a full growing season to fill out. It will also ensure that there is time for new growth to mature before the winter season. If the plant has already started to bloom, you may also prune during the bloom or after the bloom is complete. This will give you some nice cut flowers to enjoy.