You should sign up for Medicare three months before reaching age 65, even if you are not ready to start receiving retirement benefits. You can opt out of receiving cash retirement benefits now once you are in the online application. Then you can apply online for retirement benefits later.