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.