Read the getting started materials on the home page of this forum. Read the FAQ about why renders don't play smoothly. If that fails to point you in the right direction just type Render in the After Effects Search Help window at the top right corner of the app. That will give you lots of information on setting up a render for different workflows.
You can't just dive into AE and start using it and have success. You have to read the materials