The monitor's inputs need to match your computer's outputs. The common ones are:
VGA
DVI
HDMI
DisplayPort
You only need one of those to match. Preferably, not just the VGA since that's not a digital signal.
Other than that, there's the issue of whether or not you like how the monitor looks (aesthetics) and if the picture quality is sufficient for you (panel type/quality).