Throbbing lobes

I have an ear infection. I’m not really sure how I got it. The only thing I’ve stuck in my ear recently is a finger, so I must have nicked my inner ear with a sharp bit of fingernail or something. So now my lymph nodes are swollen and my ear aches and my head is throbbing in sympathy. It’s my right ear. This presents a problem, as I generally sleep on my right side.