In king and pawn against king, the defender usually draws by keeping the king in front of the pawn. The attacker's aim is to bring the king in front of the pawn, onto the key squares.
The defender's last resource is stalemate. Here the black king can't move but isn't in check: stalemate, a draw. The attacker shouldn't push the pawn to the seventh rank when it is in front of the king.
The winning method: king first, then pawn. Bring your king to the right square.