Problems going back in to gear after..

Hello
I have a small block 340 4 speed, when the car first starts up it will leave fine but after running for 20 40 mins has big problems trying to get back into gear.(1st or 2nd)
Any ideas or reason why?
Thank you.