Firefighters rescued a puppy that got its head stuck in a tire on Wednesday.

The Fresno County Fire Protection District says it took a lot of patience to get this small pup’s head unstuck.

The puppy was lodged in the hole in the center of the metal rim.

But after a little trial and error and cooperation, rescuers were successful in freeing the pup.

The department says the puppy was unharmed but might be a little embarrassed.