In crockpot layer half of ham, half of potatoes, half of onions, half of cheese. Sprinkle with salt and pepper. Repeat layers with remaining half of ingredients. Spoon undiluted soup or white sauce over top and sprinkle with paprika.