Sharp burning pain in vagina

A few months ago I had a sharp burning pain whenever I sat down. It only lasted for about a day! Has anyone had this before or know what this could have been?