Buy one. Look up what your computer model has for connections, buy a network adapter to match.
If you are asking this question, you will probably also need to figure out what you are connecting this network adapter to, wirless or wired, what the settings are, etc...