Fluctuating temperatures while driving

if you have an electrical sending unit look for bare spots that may be grounding out/if you think it might be a head gasket look for bubbles in the coolant with the car running