How to Acquire Knowledge of God?

How does one acquire knowledge of and belief in God, His Attributes, His Law and the Day of Judgment?