1. When it is convenient to you, I'll visit you at 6.

(In this sentence, what does 'it' refer to?)

2. He paid all the debts by automatic deposit.

3. The baby peed/weed on the diaper too much.

4. You should teach the baby to give out dung in the bathroom alone without using a diaper step by step.

(Would you correct any errors in the sentences above?)

1. When it is convenient to you, I'll visit you at 6.

This doesn't make sense with a specific time included. Use one or the other of the following:

When it is convenient for you, I'll visit.
or
I'll visit you at 6 pm tomorrow.


(In this sentence, what does 'it' refer to?)
This is one of those instances in which "it" doesn't refer to anything in particular. Weird, right?
2. He paid all the debts by automatic deposit.

3. The baby peed on the diaper too much.

4. You should potty-train the baby, step by step, starting about age 2. Teach each him to use the bathroom and gradually stop needing diapers.

1. In the sentence, "When it is convenient to you, I'll visit you at 6," the word 'it' is referring to a convenient time. The speaker is saying that they will visit at 6 o'clock if that time is convenient for the listener.

2. The sentence "He paid all the debts by automatic deposit" is grammatically correct and does not have any errors.

3. The phrase "The baby peed/weed on the diaper too much" may contain a typographical error. The correct word to use in this context is "peed." So the corrected sentence would be: "The baby peed on the diaper too much."

4. The sentence "You should teach the baby to give out dung in the bathroom alone without using a diaper step by step" contains some awkward phrasing. A more natural and clearer way to express this idea would be: "You should gradually teach the baby to use the bathroom without a diaper, step by step."