Sometimes as you continue to journey with the Lord, He will reveal something to you about someone. First of all, test the spirit to make sure it is the Holy Spirit and not some divisive spirit just trying to stir things up. Never forget that the enemy roams around just looking for a way to trip you up and eliminate you from your Kingdom assignment!
Second, keep the information to yourself. Do not share it with anyone else to include the person about whom you may have had this revelation. Most often you are simply to pray for that person. You are definitely not to gossip about them or puff up with pride about what you think you know.
Third, do not judge. God has entrusted you with the deep needs of another. If in your heart (and it is always a heart issue) you feel that you are above that person and their trials you are not being led by the Holy Spirit. You are allowing a spirit of judgment and pride to lead you. This is a very slippery slope that only leads you to a worldly, fleshly place that is clearly not of the Kingdom of God.
God will never show you something for you to gloat over the challenges of another.
Cover what God has shown you and pray as He leads. Humble yourself before the Lord and He will use you mightily to the pulling down of strongholds.