I have had many instances of God using me to speak to others, some edifying, some warnings....I really didn't ask for this gift. I wanted to operate in the gifts of healing...but it wasn't meant to be I suppose...the thing most disturbing is my friends, family and church family stopped hanging around me. I had one of them tell me because they didn't want me to know their sin...I explained I don't think it works like that. I was young and really didn't understand the gift myself...I only knew that obedience was the most important thing. Now after years of despise, abuse and rejection I am empty. What did I do wrong? I still see into peoples lives but I don't share anymore. This has caused much grief and anguish and separation of relationship between me and my Father. Please help me understand.
The gift of the word of knowledge and wisdom works in the way you described. What assures me is that you did not ask for this gift but it happened to you. It was not born out of any personal ambition to a desire to have power over others.
Words of knowledge and wisdom can have a double purpose. Some words are there to be shared with the subject, especially the ones where encouragement and comfort are involved. But there are other words that are for you and not directly for the subject. This is where the word of wisdom comes into play, because where there is a word of knowledge to you that involves revelation of sin or as a warning, then the word of wisdom is needed for how you need to share what you know with the subject.
An example is the word of knowledge coming to a pastor involving one of his elders being involved in an affair with a woman who was not his wife. Sharing that outright would cause a lot of damage to him, his family and the church. So the pastor asked the Lord for wisdom. The Lord gave him the words, "The Lord wants you to increase your love and faithfulness to your family." The elder broke down and confessed his affair and received repentance and healing. His family was saved from destruction and the church was saved from a major conflict.
The pastor then got a word about a church member who was struggling with an addiction to porn. Sharing that directly and publicly would have caused major embarrassment and a quick exit by that member from the church. The Lord told the pastor to tell the member that He wanted him to be totally clean. The man broke down, confessed, received ministry, and then reported that he had felt dirty and after ministry felt absolutely clean for the first time in a long while.
So, when you get a word from the Lord that has the potential to cause embarrassment or conflict, ask for a word of wisdom from the Lord about how to share the revelation with the person. You may be amazed at the results.
Don't let anyone put you down because of your gift. If it is not from God it will drain away, but if it is from God, then your critics will be criticising the God who gave you the gift and things may not fare well for them until they repent of their critical spirit.