The change oil light comes on and the truck just had an oil change what could be the problem?

Not enough oil was replaced. If this is not the case then oil pressure may be low.