The pills you got were likely antibiotics although I can't comment as to how appropriate they are or whether they were dosed appropriately or long enough since I don't know any of that.
ETA: The pictures you sent me are not a minor bleed. That is not a small cut by her bedding. She needs to see a vet who has experience with guinea pigs.
We are as gods to the beasts of the fields. We order the time o' their birth and the time o' their death. Between times, we ha' a duty. - Terry Pratchett.
"Men have forgotten this truth", said the fox, "But you must not forget it. You become responsible, forever, for what you have tamed. - Antoine de Saint-Exupéry