For a start, please provide more information about the scanner:
? Make and model.
? Parallel, serial, USB or what ever.
? Did your friend also give you the installation disk
and manual or quick start sheet ?
? What scanner program(s) came with the scanner ?
? What have you done to try to install the scanner ?
Without the above information, it is unlikely you will get useful help, since there are different types of scanners and they require slightly different installation methods.
My friend gave me a scanner he had running on his win98 computer. I have xp. It won't jive. What should I do to be able to use it on my xp system?
Help...please.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic