I found a village in minecraft. But then Pillager came along, or whatever they are called, and killed the villagers.
what can I do with it that multiply or something?
All you have to do is kill the pillager
Apparently you triggered a raid because you got a pillager with a banner, got the bad omen effect and went to a village with it.
If you only increase the villagers but don't kill the pillagers, the raid won't end
The bad thing about ill-campers (magicians, devastators, looters, …) is that they don't infect like zombies or husks. But if you still have at least two, you may be able to multiply them. But before that is so, you have to get the rest of the villagers to safety.
The easiest option is to set the difficulty level to peaceful until you have enough villagers again (approx. 15-20). If you play in hardcore mode or on a server or don't want to, you should do the following:
Dismantle all beds and place them in a bunker (two air blocks above the bed). You can use the church for this, for example.
When all the villagers are in the bunker, you destroy the door so that no more can come out. Use a ladder with a trap door to get out yourself.
Give lots of loaves to the villagers. Alternatively, you give wheat to a farmer (he then crafts bread and distributes it). You can also buy bread from some farmers.
Craft more beds and place them on the floor. You can also expand the bunker and use more panes of glass (monsters can't see through glass, you can).
Distribute work blocks (preferably let them in the wall) so that the villagers can work more and have more children. Good professions are farmer (bread), blacksmith (coal, iron → emerald) and arrow maker (sticks → emerald).
When you have arrow makers and farmers, go chopping wood and sell sticks, or look for ores (iron and coal) underground.
Leave the villagers in their bunker, they are safe from almost all attacks. It's best to also place torches so that no zombies spawn.