I need a help for my tax return 2018 and 2019

I am an American citizen and in January 2017 I went back to my country to visit my family and I fell ill with a herniated disc. So I couldn't even walk or work. So I decided to stay there and do traditional treatments. So I didn't know that even if we don't work, I have to do my tax return so I didn't do the 2018 and 2019 one. And here I am I came back to America this month and I wanted to ask for my Economic Impact Payment but I am told that they will not give me because I missed the tax returns of 2018 and 2019. So please what should I do at the end so I can win my Economic Impact Payment because I really need it. and also about my tax returns for 2018 and 2019, what should I do to avoid having a penalty?

 

Thanks