In "Settings" > "Billing" > Tick the box "Enable Smart Retries on failed payments"
Choose the number of attempts (the maximum is 5)
Now, when a payment for a subscription will fail, we will launch automatically a new billing at the best moment.
This article will help you to set up new attempts of automatic payment if a subscription payment has failed.