This could be over-exhaustion. You should take a day off or two, and if everything is fine, then continue your training, just at an easier pace. If it occurs again, speak with your doctor about whats up. Make sure to list everything that happened so your doctor can properly help you.