Is the child one and a half years old? It's time to start teaching him to do "business" for the pot. But in practice, it immediately becomes clear: it is not easy to succeed, especially if a child who is accustomed to diapers has not yet become familiar with such a concept as discomfort from wet pants. Therefore, the question of how to teach him to independently relieve himself in a pot is still relevant.
The best solution during this period is the rejection of diapers, albeit partial: let the baby walk in regular underwear during the day, you can wear it at night, more for the sake of "protecting" the bed. Of course, at first, you may have to wipe up unpleasant puddles here and there more than once, but bear with it, it's worth it.
The habit of diapers often leads to the fact that the child sometimes does not even notice how he pisses and does not get hung up. That is, this process takes place rather unconsciously, automatically. And so, first of all, he will feel how uncomfortable it is - wet pants, then he will learn to recognize his urges in order to respond to them in a timely manner.
And the most effective way of potty training is to explain to your baby why this process is important. Do not be lazy, try to remind him of this as much as possible and as often as possible, until you achieve the desired result. Try to demonstrate this process clearly during the game. For this, ordinary rubber toys with holes on the bottom (these are usually taken for the bathroom), through which water is drawn in and out when they are sitting on the pot, will go perfectly.
Don't forget: your praise means incredibly a lot to your child, inspiring him to repeat the "feats" he accomplished earlier. After he goes to the toilet in a civilized way, it is necessary to draw his attention to clean dry pants, which are pleasant to put on and wear again.
In potty training, don't go too far: don't get too hung up on this topic. The kid, despite his age, has character and will. And if he thinks (rather subconsciously) that your educational methods are violent, he can oppose them and do the opposite, to spite you. Can even start going anywhere but not on the potty.
Most children between the ages of one and a half to two years are already quite independent. So a trip to the potty can be turned into a real ritual, including your visit to the store with your child, where he can choose the pot he likes. Even if you have already prepared this device at home, do not spare the money by buying another one, only this time with your child. When he has mastered it, then it will already be possible to move on to the toilet (by purchasing a special pad so that everything is like in adults). But by that time the problem has already been solved.