Doorbell not working on my barn

Up to this point… minus a small echo everything has worked great. I went to hook up my doorbell and and nothing is working and it won’t connect through a metal wall.Tips or tricks?Just want to make this work