No. You shouldn’t try getting the corn cob out unless it is visible in their mouth. Otherwise, stay put and ask your veterinarian for an assessment. They will tell you exactly how to proceed without causing any damage to your dog (unless in a critical state, they will likely command you to take the dog to a clinic).