It depends on the cause. Some causes, such as dehydration or low blood sugar, can be easily remedied. However, if the cause is related to an underlying medical condition, it can last for days or weeks. If the condition persists for more than a few days, it is important to consult a physician.