this is because u swallow some water. As the water in the swimming pools is mixed with chlorine it might cause some affect. Another major reason is your stomach gets empty after swimming as it is a very good exercise. So, avoid swallowing water. this would help.