Start making a list of the steps of what the code should do. Organize it in a logical order.
If you have problems, post your specific questions here,