Hello,
Go to Pages > edit cart/checkout pages and add heading you need before the cart/checkout shortcode.
Regards