Yes, there is a proper way to sew on a button.
Visit Martha Stewart's website for easy follow along instructions. There's even a diagram for you to follow. Yeck, print it out and save it for the next time you're going to need it.
Have a Happy Count Your Buttons Day!