I want to file by paper

I need to send in by mail to both federal and MD and need to know how I do that? Thank you.