hello and welcome to HCM,
Any sudden trauma can affect our ears to even rupture the drum which may cause this acute or severe pain
and also hearing loss
. Secondly it can just cause a shock
to the nerves of hearing in which case the pain is usually not seen but only the hearing loss.
In either case you need to definitely consult an ENT who will perform a full examination and also hearing testing. He will also make sure that your drum is intact or injured and start treatment accordingly.
Meanwhile till you meet your ENT make sure you are not exposed to further loud noise, avoid head bath (prevent even a small amount of water to enter the ear) and do not attempt to clean your ears
If the pain is very severe then see an emergency doctor if simple analgesic
does not work
Dr Sriram Nathan