Any ways to get rid of ankle pain fast before a race?

NSAIDS. Ice, rest and nsaids like Ibuprofen or Aleve (naproxen) is the best you can do before a race. If you don't know why your ankle hurts you may want to see a doc to get it evaluated to prevent worsening of a condition.
Tape or brace. You can try to have your ankle taped , or wear a lace up brace, for support, which may relieve some pain. Taking an anti-inflammatory medication can help as well.
Ankle pain. Depends on why you have the ankle pain. I recommend you see a local podiatrist who specializes in sports med.