Sir I went to swim few days back and water went into my ears. My left is perfectly fine...but I couldnt get water out from my left ear. Den I inserted cotton swabs for cleaning my ear eventually I found that it was paining and so I consulted a doctor he g

What's the question? Did the doctor find an infection in the external ear canal? If so, I trust it has been treated with either an antifungal or antibacterial. In the future, try a drop of rubbing alcohol into the ear canal to get the water out.
Swimmers ear. It sounds like you may have a bacterial infection of your ear canal. Common treatment involves administering antibiotic/corticosteroid ear medications. Depending on the extent of infection you may need oral antibiotics or deeper cleaning by an experienced physician.