To check if the paper has been retracted, look up the paper in PubMed by title. A retracted paper in PubMed will look like this:

You can also search for the article in PubMed and look for results with the same title as the article marked as erratum, correction, or republished.
Always check the reason for retraction. Sometimes a paper will be retracted because there is a duplicate of it in PubMed due to a publisher error. A reason like that is no cause for concern. Other reasons include:
- Self-plagiarism
- Plagiarism
- Faked data
- Fake peer review
- Publisher error
- Authorship issues (adding people to the paper who haven't agreed to be on it, e.g.)
- Image manipulation
- Fabrication or falsified data
- Legal reasons
- Study was not reproducible
It's worth noting that typically, when a journal's impact factor is higher, the publisher is more likely to retract studies. For example, NEJM has the highest impact factor and the most retractions, followed by Nature. Journal of Immunology has the lowest impact factor and fewest retractions. There are exceptions, however, such as: The Lancet doesn’t retract many studies for its impact factor and Science has a low impact factor but retracts many studies.