Oooh that looks nasty, some kind of ulceration perhaps.
If your guinea pig is registered with a vets, they ordinarily will offer emergency service or a call facility.
Maybe some else has some thoughts.
Oh right, I didn't realise you we're in the US, then best advice is to keep your pig comfortable, ensuring he is eating and pooping.