To melt cheese on a burger, place a slice of cheese on the patty during the last minute of cooking. Cover the grill or skillet to create a steamy environment that helps melt the cheese evenly.