I removed ear wax inside of my 5 month baby with a cotton swab, he is fine and well but worried now if anything gets wrong. He has swimming lessons?

Ear wax. It is not advisable to use Q tips on your baby's ears because you may damage the ear canal/ and or the eardrum. Also it is not advisable to give swimming lessons to a 5 month old because of the possibility on water intoxication.