Please note that not all publications have a DOI and that DOIs are not mandatory. ResearchGate assigns DOIs only to unpublished research on request, see https://help.researchgate.net/hc/en-us/articles/14293044585745. If you mean how to get a DOI for a paper you have already published, see these discussions for recommendations:
Do you mean to ask how to find doi of an article you downloaded? What do you need it for? Do you need it for a reference in your own paper? Those are often a available from databases a pnd search engines such as Pubmed.