How to prepare for a 24-hour race

How to prepare for a 24-hour race. Cyclists advice for 24 hours race