First, you and your friends should use a same IM software (skype, live messenger, qq, gtalk...). Then you should download that IM software from internet (For gtalk, you can use gmail instead). After that, you use install the software, register you own user name, run and log on the IM software. At last, you should add your friends' account to your account. Then you can talk with them.