Dual screen monitors how to make them work?

Hi I have got a new monitor and was wondering how to set it up to have dual screen.
I have HDMI input as well as VGA, but when i plug both in it only picks up 1…plz help