Used to happen a lot to me after 5 hours in the sun playing golf in my 30's so don't stress.
20 years later I try to have hi protein brekky , and sports drink to hydrate, before a surf,, and maybe more protein after a good surf... I think it helps?,,, can sometimes get an ordinary game of squash in, later in the day. Alcohol kills me,, but