There can be many causes for the pain - from a simple contusion or sprain to something serious. So the cause can be found out only on clinical examination and appropriate investigations.
Next Steps
Get yourself examined by the Orthopedic Surgeon - he/she will be able to guide you better.
Health Tips
Use Ice packs, apply a gel (Volini or Voveran). If the pain continues then see the doctor.