Hi, I am an Orthopod
two posibilities in your case.
If age less than 50 and male, more probability of contusion
and treatment would be rest with heel walk and some antiinflammatory medicines.
If above 50yrs and woman, more probability of fracture
and it needs X-ray for conformation and treatment may be POP plaster or surgery with K-wires.
I would suggest that if pain does not subside and not able to walk by one week better get an x-ray done and consult a orthopod