How long do you have to wait to get in the pool after you put on sunscreen?

As long as it takes for the sunscreen to dry.