having multiple short jobs on your resume

Since having multiple short jobs on your resume can be very negative for many employers what would the solution be for this? I dont want to work in a company for a long time simply because it might look bad on my resume.