The top of my left foot right b4 the ankle joint is swollen and hurts quite a bit. Have it elevated but not much relief. No trauma/injury. Hurt to up?

See a podiatrist. It might be caused by arthritis, tendinitis, bursitis, ganglion or be due to an underlying bone disorder. A proper examination and [likely] x-ray studies will help establish a diagnosis and appropriate treatment plan. Good luck to you.