Credibility is about trust. Can you trust that the person knows what they're talking about? Since no one knows everything, and mistakes happen, it's important to use more than one source to get accurate information. Credibility can be determined depending on
Are referred to as reliable sources. They rely on the reputation of their publication (ex. newspaper or journal) for having high standards of researching, fact-checking, accountability, and ethical reporting.
Credible sources rely on the expertise of the author to know the topic completely. The author should have a higher degree (master's or doctorate) in the field they are writing.
Scholarly sources are written by experts who have a higher degree in their field and are written for other experts to help them further their research and understanding. They often have a long references list at the end and are sometimes peer-reviewed.
Any doubts about the credibility of a source you've found? Ask a librarian!