Hi. I think learning to swim is a great idea. It's enjoyable to do and a skill that can save your life. Swallowing pool water is not a great idea. It has chlorine in it. However, that is usually okay. The real issue that you sound like you *might* be describing is secondary drowning. This is not common, but if you a gush of water, too much water, etc. it can irritate the lungs and cause swelling. A cough is a sign of this. I'm not sure when this happened (that you felt water in your lungs--- but the recommendation when secondary drowning is suspected is to go to the hospital. At the very least, you should be seen by your doctor. They say to go within 72 hours. They administer oxygen and diuretics to remove the fluid. Not sure if this is what is going on with you but would not hesitate in finding out if I were you. Let us know what the doctor says.