How to choose Multiple process or Multiple threads?

Hi All,

Please explain me when i have to use multiple process and when I have to use Multiple threads? Please give me an example.It will be very helpful for me.
Thanks in advance.