Dog is scared of door opening?

I got a dog from a shelter but when I took him home, he got incredibly scared of the door opening up and he starts barking at it. He wouldn’t bark at the fence door. How do I stop this strange behavior?
6 answers 6