Here is something that sounds like an insult and is not one: most adults who teach themselves the piano have never practiced. They have played. There is a difference, and nobody ever told them what it was, because the difference is normally taught in a lesson by a teacher standing over the keyboard saying no, not like that — do these two bars, slowly, twelve times.
If you are learning alone, nobody says it. So you do the obvious thing, which is to start at the beginning and play until it falls apart, then start at the beginning again. An hour goes by. The opening is now very good. The difficult passage in the middle is exactly as difficult as it was, because you have arrived at it exhausted and discouraged forty times and never once worked on it.
That is the whole problem, and the fix is a method you can learn in ten minutes.
Practice is finding the hard part and staying there
The single sentence version: locate the smallest place where it actually breaks, and work on that place alone, slowly, until it is no longer the hard part.
Everything below is detail on how to do that without it being miserable.
Step one: find the break, and make it small
Play the piece through once, slowly, and pay no attention to how it sounds. You are surveying, not performing. Note every place where your hands hesitate, stumble, or where you tense up in anticipation.
Now make each of those places as small as you can. Not the difficult page. Not the difficult line. Usually the real trouble is two beats wide — one change of hand position, one moment where the thumb has to pass under, one bar where the left hand does something new. Adults consistently define the problem ten times larger than it is, and then practice nine parts they already know in order to reach the one they do not.
If you can play the two bars either side of it and not the middle, the middle is the piece. That is what you practice.
Step two: slower than feels reasonable
Take that small place and play it slowly enough that you make no mistakes at all. Not fewer mistakes. None.
This is the instruction adults resist hardest, so let me say why it is not a moral exercise in patience. Your hands learn what you actually do, not what you meant to do. A passage played fast and wrong ten times has been rehearsed wrong ten times, and you will have to unlearn it before you can learn it. Slow and correct is not a slower road to the same place; it is the only road.
If you are making errors, you are still too fast. Halve it again. It is common for the correct speed to feel absurd.
Step three: hands apart, then hands together at the seam
If both hands are involved, play each one alone until it is genuinely easy — not possible, easy. Then put them together at half the speed you managed separately, because coordinating two hands is a third skill and it costs something.
When hands together fall apart in one specific spot, that spot is the new small place. Start again from step one on it.
Step four: repetition with attention, not repetition
Ten repetitions where you are listening is worth more than fifty where you are elsewhere. A useful discipline: before each repetition, say to yourself the one thing you are watching for. Left hand quieter. Thumb under early. Do not rush the third beat. One thing. When you notice you have stopped being able to name it, stop practicing that spot.
Step five: put it back, from before
Do not resume from the fixed spot. Begin four bars earlier and play through it. Approaching a repaired passage at speed, from context, is a separate skill from playing it in isolation, and it is where most home practice quietly fails — the passage works when you start on it and collapses when you arrive at it.
Count out loud
Through all of this, out loud. It feels childish and it is the most effective thing most self-teaching adults are not doing. Rhythm is the first thing a listener notices, the thing that makes playing sound like music rather than like a sequence of correct notes, and the hardest thing to repair after a year of approximation. Counting out loud also makes it impossible to speed up unnoticed at the easy bars, which is what most of us do.
What a good twenty minutes looks like
Two minutes of something you can already play, to get the arm heavy and the hand warm. Twelve minutes on one or two small difficult places, in the way described above. Four minutes playing through a section that includes them. Two minutes of something you love and play badly, for no reason at all.
Then stop. Short and frequent beats long and heroic. Four sessions of twenty minutes across a week will take you further than one session of eighty, because the consolidation that turns difficult into easy happens between sessions and needs them close together.
The part you cannot do alone
You can learn all of this from a page. What you cannot do from a page is hear yourself accurately. Nearly everyone who records their own playing for the first time is surprised — the rushing they could not feel, the left hand that is twice as loud as they thought, the phrase that stops dead at the bar line.
So record yourself, if only for yourself. And if you want the reading a teacher would give, put your phone at the side of the keyboard so the camera sees the hand and the wrist from the side rather than from above, play a few minutes, and send it. The written feedback is free here and always will be — not a score and not a compliment, but a detailed account of what your hands are actually doing.