First of all you must be landed on a planet. Then click on on the number that tells you how many CPs you have. Then click on the link along the top the says "Exchange CPs" Scroll down and click on the ship you wish to purchase. I'm not sure about the whole last part because I have never done it. If you click on "Guide" along the top of your screen you might find more information.