Hi,
Welcome to the forum. I am really glad to help you out. In view of the short lasting pain, I presume it should not be anything serious. It could be a muscle cramp which comes and goes.
If the pain troubles you, then I suppose you can take an analgesic to give you relief from the pain. However, I sincerely believe that you don't need any further investigations for your symptoms. I sincerely hope that helps. Take care.