It goes from several stages before a domain actually expires and up for sale again. Hostings House always recommends its customers to renew the domain for next period as early as possible. To avoid the possibility of losing your domain name, we repeatedly send reminder emails for the renewal of your domain before expiration.
But in case you don’t notice these emails or forget to renew your domain and someone else renews it, the only way to recover your domain is the willingness of the new owner to sell it. But you can look for the availability of the same name with different extension to register as an alternative to buying your domain back.