The DOI is usually clearly visible when you open a journal article on an academic database. It is often listed near the publication date, and includes “doi.org” or “DOI:”. If the database has a “cite this article” button, this should also produce a citation with the DOI included.
If you can’t find the DOI, you can search on Crossref using information like the author, the article title, and the journal name.