You can give Penicillin to a dog but you should get the Penicillin from the Vet to get the correct dose to administer to the dog.
Giving human Penicillin to a dog could overdose the dog and be toxic so it's best to get some Penicillin for dogs from the vet that can be given orally or through an injection.