“How long do you have to wait before you can drive i seen in the news 5hours”

This is going to be very dependent on a number of factors, including:  strength of the product, method of consumption, and how long and how frequently the consumer has been consuming cannabis.  Health Canada has some guidelines around how long effects are expected to last in their Consumer Information guide.  Most important is to know that under no circumstances should you drive if you at all feel high.