As far as I remember, there is no rule in the Bible as to who can baptize a new believer. However, I'm almost certain that sometime in the early history of the Roman Catholic church, someone or some group of people decided on some rule, such as being a pastor. Or, perhaps they instead decided that anyone could baptize a new believer. I don't know, so I'm asking: according to the Roman Catholic church, who can baptize a new believer?
In an emergency where there is danger of imminent death, anyone (yes, anyone) who has the appropriate intention can baptize, by using the Trinitarian baptismal formula.
In all other cases, Catholics are instructed to contact their parish.
(Note that this only concerns who can baptize: not all persons should be baptized. There are certain restrictions regarding the baptism of certain adults, though young children can always be baptized.)
The official Catechism addresses this directly:
To be very clear: in cases where there is danger of imminent death, anyone can baptize. A person does not need to be male or baptized. Even a child can baptize in an emergency, if an adult is not present or incapacitated, though the child must be able to form the appropriate intention.
When there is no danger of imminent death, baptism is to be handled by the Church. The relevant Canon law is:
These rules are in place to ensure that the baptism is, above all, performed in a valid way, but also to ensure that it is recorded appropriately.
It would be unwise and prideful for a person to perform baptism out of accordance with these rules, for the same reason that it would be unwise and prideful for a person to perform life-threatening surgery without the proper consultation of a trained doctor. Though of course, when a person is dying in front of you and there is nobody better able, you will, can, and are obliged to do everything you can to help save them, if they can be saved.
There is probably a better source, but from my Ad Altare Dei handbook* it says that any baptized male in the Catholic church can baptize another person into the Catholic Church, however, when available an ordained priest is preferred.
*Link is to a description of the program, it is a program for the Catholic Scouting religious award covering the Sacraments. The handbook is an official publication from the Roman Catholic Church and distributed from the scout store or your local Diocese.