Your question is a little unclear to me. Do you want to change which application opens a document? If so:
Get Info on the document
In the Open With section, change the application to the one you want
Click Change All if you want to apply this setting to all like document types