Many library databases will offer a filter to limit your searches to peer-reviewed or academic articles. These are also known as scholarly articles. However, there are other indicators.
Scholarly articles will often include:
Librarians at NCSU have created an Anatomy of a Scholarly Article tutorial you can explore to learn more and their video tutorial, Anatomy of a Scholarly Article contrasts a popular and scholarly article.
If you are unsure whether or not a publication is peer-reviewed, you can search for the name of the journal on the internet and look for information provided to authors. For example, here is Nature's Editorial Criteria and Processes which describes the peer-review process they use.
* Peer-reviewed journals may include non-peer-reviewed content— book reviews, letters to the editor, essays, or editorials.