The 37-year-old five-time Olympic champion made the announcement in a video on social media on Monday.