You can train for the event in the swimming pool by continually increasing your distance. 


You can find advice on training and outdoor swimming here.