I would say "RTFM", but that would be rude.
You should have a booklet or docs on CD.
Because it is a two port switch, you are either going to have two sets of cables or two sets of sockets to connect two computers. You will have a third set either separated a little or marked differently for you keyboard, video monitor, and mouse.
Instructions will tell you how to switch between the two computers.