During puppyhood, a Chihuahua's urination and defecation pattern is irregular, so training is not easy. The owner must be patient.
Before starting toilet training, you should make sure the puppy already recognizes its own name and can also distinguish your approving tone from your critical tone. Every morning after waking up and after each meal, take the puppy to the place where you want it to eliminate and wait there. If it does it correctly, praise it immediately. If the puppy relieves itself somewhere else and you catch it, speak in a stern tone so it understands the behavior was wrong, clean the floor thoroughly, and spray deodorizer. After enough repetition, the puppy learns where it may and may not go.

In general, small pet dogs eliminate around 30 minutes after eating or about 15 minutes after drinking water, so owners should pay special attention at those times. If you notice the puppy sniffing around on the floor, stay alert, because it is probably looking for a toilet spot. In addition, puppies usually eliminate once after waking up in the morning. Therefore, once the Chihuahua wakes up, carry it to the place where you want it to go and keep it there for a short while. At the same time, use a special command tone such as "hurry up." If this cue is used consistently, the dog will gradually understand that the phrase means it is time to go to the toilet.
Absorb some of the puppy's urine with newspaper and place that sheet on top of several clean sheets. Do not throw it away right away. The next time the puppy starts sniffing around, quickly pick it up and put it on the newspaper. It will smell the dried urine and be encouraged to go there. Stay beside it, and if it runs away, place it back again. At the beginning, the newspaper area can be large and then gradually reduced.
From then on, any time you see the puppy about to eliminate or eliminating in the wrong place, pick it up immediately and place it on the newspaper. Leave one soiled sheet there every day as a scent marker. After a few days, most puppies understand that they should use the newspaper. Once that habit is formed, the first stage is complete, and then clean newspaper alone is enough because the puppy already knows to use the area.
Next, shrink the newspaper area gradually, from two full sheets to one, then to half a sheet. At the same time, move the paper slowly toward the doorway. When the puppy becomes used to toileting on the paper placed by the door, you can remove the paper entirely. The dog will then go to the door when it wants to eliminate, and you can immediately take it outside.

In my own experience, encouragement matters a lot. If the puppy goes to the toilet area by itself, or eliminates after you guide it there, use a gentle and cheerful voice to praise it and give it something it likes to eat but does not receive often. After enough repetitions, the puppy learns that following the owner's instructions leads to praise and reward, so it becomes more willing to cooperate.
The key words in toilet training are encouragement, reward, patience, and affection. House-training a pet dog is always a difficult problem, but if you give it more love, it often gives back even more.