I think you may have suffered a hematoma
in the muscle. This is bleeding into the muscle which can produce a lot of pain. It is not serious and will recover but may take a few more days. I suggest you take paracetamol
for pain relief. Strapping your thigh may also help.
Dr K A Pottinger