NSAIDs reduce pain, inflammation and swelling while helping the body return to a normal temperature. When the body is injured or ill, it releases an enzyme known as COX. NSAIDs help control two specific types of COX enzymes, COX-1 and COX-2.
If you have an outer ear infection or a middle ear infection, your ears may be filled with a fungal or bacterial infection. This will likely temporarily affect your hearing and may make your hearing sound muffled in the affected ear.
Try waiting it out. Ringing in the ears that is caused by exposure to loud noises usually goes away after a few hours. Take your mind off it by resting and staying away from anything that might exacerbate the symptoms. If the ringing doesn't go away after 24 hours, visit the doctor for further treatment.