Hi, if you want your ears, dont listen to loud music and that too from your headphones. Using headphones, is bad in itself and to worsen it, you were listening to loud music. This can lead to something as bad as rupture of your ear drums leading to permanent deafness. As for your current pain
, you can take paracetamol
tablet to subside the pain.