How to follow up on job application?

I filled out a job application online and wanting to follow up. How long should I wait to follow up? What should I say when I follow up?