Its possible that the clutch is not disengaging properly so the engine is still trying to drive the gearbox thus baulking the shift into gear. Check the fluid level in the clutch system for a starter and check for any leaks either at the pedal or the cylinder on the clutch housing.