Pull each tube out and stick it back in a couple times to scrape off any oxidation on the tube pins or sockets that might be inhibiting good contact.
Other common causes: bad tube, dirty volume pot, or a broken solder joint on the circuit board.
Next time it does that, try slapping it around a little; if that makes it come back, I would suspect a broken solder joint. If a volume pot makes worse-than-normal crackling noises as you turn it, it needs cleaned anyway so try that.
Are you 100% sure it is the amp and not your guitar or outboard gear?