Your answer is clear, but it can be polished to sound more natural and precise for the IELTS exam. Here's a revised version:
No, I don't. I had a bad experience as a child. I fell into a river and couldn't get out by myself, but fortunately, someone saved me. Since then, I’ve avoided swimming.