When God Says No

How are we to respond when God says no to our plans and sends us in another direction?