Welcome to HEF ross0801!
Could be a number of things to cause your problem. A few answers to questions may help.
Firstly, when the problem is evident, does it attempt to drive at all? As the machine warms up, is it a slow loss of drive or does it happen suddenly?
Does the transmission pressure gauge on the dash work? Hows the pressure cold & then warm? In neutral & then in drive
Do the brakes work? & do they neutralize the drive when applied?