Your guinea pig most likely has skin mites, a common problem. The mites bite your pet and the resulting wounds itch. The bites may become infected, causing even more itching. There are a number of topic anti-microbial medicines and washes available. Visit your local pet store to try one of these, or contact a vet.