I usually let the AI manage trade for me. It will find the best trade partners for you. If you want to do it on your own, you have to find the appropriate trade partners, such as a nation you're on friendly terms with, have a similar governments, and has plenty or resources you are seeking. If you need money, try trading with the U.S. or any country flush with money. And try to trade a resource that they really need.