There's no such thing as a 100% reliable source - Skeptics.SE cannot hope to only present correct answers, but we can aim at minimum level of accuracy which is much, much higher than the typical sources on the web and newspapers.
So, the following guidelines are merely heuristics - every single one is fallible.
Look for sources that explain how they know what they say is right - either by referencing other reliable sources, or by showing how they gathered the empirical evidence for themselves.
Look for sources that are peer-reviewed - that other experts have carefully examined and ensured that the results are valid.
For journals, look for a high impact factor (or other measure of them having a reputation that the editors will find worth defending).
For experiments, make sure they are using a control. Make sure it is blinded (the person doing the measurements shouldn't know if they are measuring a control or not.) If the experiment is on humans, it should be double-blinded (the patient shouldn't know if they are receiving a treatment or a placebo). Make sure the choice of treatment/control is randomised.
If the experiment isn't all of the above (randomised, controlled, double-blinded), don't let people tell you there is causality where there is only correlation.
For experiments, make sure the sample size is large enough to cover the variability. (Generally, check the statistical methods used are appropriate, and whether any confounding variables have been controlled for.)
For experiments, look for ones that have been reproduced by others. (Tough one!) Even better, look for meta-studies, where independent reviewers have scrutinised the quality of a number of reproductions, and accumulated the results to produce a more statistically powerful result.
Look for people who are working/writing about their area of training/expertise. (Hint: When talking about science, most celebrities, journalists and Skeptics.SE contributors aren't.)
Generally, look for sources with a history of reliability. To help people out, we maintain a list of resources that we have found to be reliable in the past. Again, that doesn't mean that they will always be reliable, but they make a good starting point.
When you answer questions you already have in mind some sources that might fit
Yes. For example, if it is about health, I go straight to the Cochrane Collaboration (see the resource list, because if there is an entry there, the answer is practically written already.
If it is another subject I have passable knowledge about, I might go to Google Scholar, to find papers.
If it is a subject I know nothing about, I might visit Wikipedia - I avoid using it as a reliable source, but it surprisingly frequently points directly to the papers that answer a question. (Note: I commonly use Wikipedia to explain unusual but uncontroversial terms in an answer - where reliability isn't an issue.)