Connecting two monitors on a single computer

I have two old monitors which I want to connect with my computer. My question is. How can I do it and what are the requirements needed? I want to connect those monitors, so I can have two desktop PC in a way that I can work with each one independently. I need help. Thanks.
