Hi all....need a bit more advise

Been out with the club tonight, struggled with the heat, but then 3/4 of the way round (about 4miles) I got really bad burning pain in the ball of my left foot, so bad i had to stop and take my trainer off and massage my foot, it eased of enough for me to finish, but it really bothered me, cause I was looking forward to tonight, and feel annoyed that I had to stop a couple of times... am suffering with shin splints a bit, but they seem to be fadeing, now this !! any advise ????