it is simple...
once you are connected to the switch just type 'en' (input the password), type 'confit t' (this will put you to a configuration mode...)
for example you need to configue port 1. type 'int fastethernet 0/1'
now input 'no shut' command, hit 'ctrl + Z', type 'wr mem' or 'copy run...