Prioritizing bone health before and after knee or hip arthroplasty may help patients avoid periprosthetic fractures.