I was running and twisted my foot sideways now my ankle is swollen and hurts a lot Its been a week since this happened?

Twisted annle. You need to have this examined by a foot doctor or orthopedist. A bad sprain can be quite debilitating and a fracture can go undetected also without xrays.
Ortho. If it occurred a week ago, and it stills hurts and is swollen it is time for an xray to make sure it is not broken.