If the system is changing gear under tension, then it may be that the gear shifter is lose. Is it a downtube-friction type lever ?
The other type of slippage is due to wear; the chain slips around the rear cog one tooth. It does not change gear but just slips. This is usually caused by putting a new chain onto worn cogs. The old worn chain will not slip like this.