My 5 month old has a barky cough and is really congested sounding. He also has a temp of 101.1 and is teething. Should we taking to dr or er?

Good idea to. Especially if the cough is the worst symptom. If you have yet to or not vaccinated your child for whooping cough you need to see the doctor to rule it out. Unfortunately whooping cough rates have increased over the years because many parents don't believe in immunizing anymore. It can be lethal to infants and seniors.
Dr. Sounds like he may have croup. If your doctor can see him, I would go there. If not, then the ed.