The base of skull hurts & I have stabbing pain in my right ear. What could it be?

Neuralgia. You may have what is called neuralgia. There are medications (i.e., gabapentin, tegretol, etc.) to help this. You need to see your doctor for further testing such as ct or MRI just to make sure there is no tumor, etc.