How old do you have to be enter the swimming Olympics?

You are supposed to be 15 if you are turning 16 the year of the Olympics you are eligible