From your symptoms, it appears you have fractured your ankle.
Your complaints of inability to walk with pain for about a week clearly suggests you have fractured your uncle. The bad thing about fractures if not corrected the connective tissue deposition for growth of fractured bone wouldn’t occur in an aligned way. Therefore, there will be growth in disorganized way.
Once that happens then surgery has to be done to remove the extra bone, you definitely want to avoid this. I suggest you consult an orthopaedician; at the most only a cast will be needed to align the fractured bone.
You can take Tylenol for pain. Take combiflam for swelling twice a day for three days. Your swelling should come down by then. A cast will be put for 4 weeks, following 4 weeks, a X-ray will be taken to check if its healed. If not, cast will be put for few more days. Thank you