make sure you have enough VTECH fluid that could be the problem
Old joke is old noob
anyway
there are 3 things vtec looks for before it engages: oil pressure, temperature and engagement rpm (aka throttle position)
if any of these things are off then it will not engage, for simplicity check the solenoid plug connection itself, make sure it's tight and clipped.
Some common issues that make vtec not engage:
Temp sensor is bad
Debris in the solenoid filter (careful if you remove it, they never seal right again and you may need to apply some RVT on the seal when re-installing)
Tach is bad or going bad
Solenoid itself is bad (rare)
ECU is burning out (typically preceded with fuel management issues)
hope this helps