How can you make consumers like you and recommend you?

For products, user experience design is a crucial element. Because where there is usage, there is an experience, and the quality of user experience design can affect factors like word-of-mouth, repeat purchase rates, and referral rates. So, how can you provide users with a good experience and even make them feel delighted, encouraging them to willingly make repeat purchases and refer others?