Obviously for water safety, you want to learn just to be comfortable in the water; that's the main goal. I think the second that you start freaking out and feeling uncomfortable, it's not going to go well.
I grew up around the pool with my sisters. Both of my sisters swam. I was always there. So I thought, why not? My mom put us in the water for water safety, so we were comfortable in the water in case anything ever happened. I learned that way, and started liking it more and more.
My mom put me and my sisters in the water to feel comfortable, to have water safety.