I'm currently thinking of using my old PC apart from the one I'm currently using,
This is not a bad solution if you take a few precautions, such as not having internet access on your PC.
but I don't know how safe
It will be as safe as you make it in terms of computer security (OS, internet access, passwords, etc.).
it is maybe I should just switch to Linux becaus it's windows ,
That would be a good solution, since you mentioned it, I think you should first learn more about the new OS (settings, management).
the Pc is around 2GB Ram I don't think I can upgrade
Technically, this may have limitations, but even so, you can get a slightly more modern PC for very little money. If you have money to invest, then finding it to upgrade your PC should not be a problem.
that don't know if it will work for Linux
It will, because there are Linux distributions that are not demanding on the PC power, created specifically for weak (old) devices.
In short, I need complete guide towards the set up
Do you know how to use the Internet?