In order for anyone to help you it might be handy to know what you already know. For example, do you have an idea about the sonata-allegro form, the idea of movements in sonatinas and sonatas, modulation to other keys, or even more basic things in theory. Can you give a rough sketch of some kind?