Hello thank you for your question
You did not mention your age. it sounds like you may have sustained a hairline fracture
which is still healing hence the intermittent pain. I would suggest getting a xray to see if there is new bone growth over the area of pain. if noted then you will confirm the fracture in which case you will need to allow for maximum healing to take place and refrain from activity that creates pain on movement.