WE need a lot more details of what you are trying to do.
The wires you are describing, Are they in the ceiling or the fixture? What colour is the third wire? Is this a new install or are you replacing a fixture?
Do not PM with questions that can be asked in a forum. I will not respond.