Smudge Bucket choked last night .. he didn't chew a chunk of meat good enough and it freaked me out !!!!!

I had NO clue what to do all I could think of was to see if I could get it from his mouth and I couldn't see it .. the look in his eyes screaming help me ... was killing me !!!!!!!!
I patted him on the side repeatedly trying to help .. it took a few minutes and finally at last he got it down ok
But I couldn't imagine what to do to help .. so I googled after to look for ideas , had no clue about the Heimlich for dogs so hopefully this is good advise and can be helpful to someone else that already doesn't know about it
added a CPR video also .. hopefully no one ever needs to use it