a few things that I've learned will help you get started, but I'm sure others will chime in.
First off, prep work is key. It may only take you 5 minutes to actually paint the bike, but you could spend days prepping it before hand. Clear off all the old paint and patch anywhere on the frame that has imperfections. A lot of factory welds are spotty and get little pocks around them. I always clean those up while I'm at it.
Once you've cleared the old paint and patched the imperfections, use a high-grit sand paper to make sure it's nice and smooth. Any rough patches will show through paint. Then clean the metal with an evaporating solution like rubbing alcohol. I've used paint thinner before with no ill effects, but rubbing alcohol is cheaper and easier on your skin (and nose). Once the metal is cleaned, don't touch it with your bare hands.
Be sure your paint booth, or the area you're using is out of direct sunlight. The direct sunlight causes the paint to dry too fast and you end up with what almost looks like dust on the surface of your paint. The overspray dries before it hits the surface and sticks to the wet paint. You'll end up having to do another coat to fix it.
Be sure the area you're painting in is dust and breeze free. I had a small gnat land on my gas tank while painting it and it left an awful spot. Part of it was because I tried to remove it with my finger, leaving a smudge in the paint. I ended up sanding that spot down and painted it again.
The only other piece of advice I can give is that several light coats are sometimes easier than 1-2 heavy coats. While it might save you time, you increase your chances of getting a run in the paint or having orange peel effect in the paint when it dries. Sometimes, you can chase the runs if you take your time and correct them without sanding and repainting.
Good luck