Portugal papers

Hello everyone
I am in Europe but don't have a papers.so please anyone help me that if I come to Portugal then can I get legally papers like residence card.if yes please let me know how and how long it will take time.
Thanks

To be brutally honest it sounds like you are an illegal immigrant so it will be impossible for you to get any such paperwork.

You have to get any visa from your home country. As you don't there is a high chance if you are caught you will be detained then deported to your home country.