Regarding how to quickly make a cat like you and stick close to you, I learned that there are several methods:
1. Understand your cat's personality
The first thing to do is to determine your cat's personality: is it lively and active or quiet and introverted? The second thing to do is to see if your cat is aggressive. If it is particularly rebellious, naturally proud, and looks down on humans, it will be more difficult to handle. But don't give up, as many cats are slow to warm up.

2. Going through an adjustment period
Both humans and cats go through an adjustment period in their relationship, a process of getting to know each other, understanding each other, and becoming close. Each step takes time. Find a completely unfamiliar environment for your cat and spend time alone with it there. Generally, after a week of getting used to the home, a cat will generally trust its owner. Maintaining a distance from its owner is a cat's last line of defense; you need to find a way to break down this barrier and gain its complete trust.
3. Socialization training
Around three months old, kittens go through a hunting training period, during which they may exhibit aggressive behavior and require training from their owners. If not properly trained during this stage, kittens can easily develop bad habits such as jumping on and biting people. In this case, it's essential for owners to provide socialization training to help them become completely well-behaved.