Slipping transmission

I have a 2002 toyota tundra. When i drive it after about 2 or 3 miles the ttansmission has no gears and then when i stop and let it sit for about 15 minutes it works again for another 2 or 3 miles what might the problem be is it a easy fix.
0