hot leg

Hi, something very bizarre happened last night and would like to know if anyone else has had the same thing or has any info on it.

My right thigh had ‘hot pain’ all evening to the point I didn’t know what to do with it. It didn’t feel hot to touch but I previously read somewhere that if you put heat pads on ‘cold pain’ it can work. So I decided to try the opposite and got the ice pack from the freezer and put it on my thigh. My whole leg went berserk, shooting all over the place. It wasn’t painful just completely uncontrollable and uncomfortable more than anything. It lasted for a short while after the ice pack was removed, although my whole leg was still ‘twitchy’ for a good while afterwards.

Any ideas?