Once had something similar happen after water skiing. Ended up with a headache for hours and was totally destroyed by it and felt delirious, went nuts and ate a bunch of ibuprofen which did not help...
Just start by using something like calorieking.com(maybe you can find something specific to your country) and estimating what you are eating.
You can also get it to graph protien/carb and fat...