Humans have been trying to answer this question for millenia. I don't know to what extent you want to explore the question, but the link below does a good job of presenting the question and gives an overview of prevailing thought.
http://plato.stanford.edu/entries/knowle...is/#JusCon
http://plato.stanford.edu/entries/knowle...is/#JusCon