Pus flowing from a dog's eyes always indicates the presence of a disease - and it is not always associated with the eyes.
Of course, in such a situation you definitely need to show your pet to the veterinarian, but first you should wash the dog's eyes.
There are two types of washing: the first is intended for cleansing the eye, the second for its treatment.
If we are talking about the first case, then you can limit yourself to plain water (of course, boiled and cooled).
A weak solution of black tea and boric acid, a solution of furatsilin and chamomile infusion are also suitable.
If you are sure that the inflammation is infectious, you can use a solution of penicillin in boiled water for rinsing.
Veterinarians advise filling a penicillin bottle completely with water, shaking until the powder is completely dissolved, and then soaking a cotton ball in the solution.
It is necessary to wipe the eyes with movements directed from the outer edge of the eye to the inner one.