How to apply for retirement