Like with any residence card, licence etc, you have to apply for the WARP renewal 2 months before expiry, no sooner.
This process will be online at the end of 2025 when the first 5 year cards expire.
There will be plenty of people who will advise when the system goes live, especially me.
You need to read the WA legislation.