To maintain pluripotency, stem cells are cultured in conditions that inhibit their spontaneous differentiation. This includes providing them with specific growth factors and signaling molecules, as well as optimizing the culture media and culture techniques to promote self-renewal and prevent differentiation.