You asked
What should I check when buying a used pentax k 5 body from a private seller?
The guide's buying-used page is clear that private sales carry more risk than specialist dealers, so with a private seller the checking falls to you. Meet in person if you can, and test the Pentax K-5 before you pay. Turn it on, fire a few shots, and check that the controls, menus and viewfinder work. The K-5's stabilisation is in the body, so try the shake reduction at a slow shutter speed to see that it does its job. Look the body over for knocks and damage to the mount, and make sure the battery compartment and card slot close properly.
Be wary of a price well below the market for a body in this condition, and of any seller who won't let you test it. Ask about the shutter count and any repairs, and pay in a way that gives you buyer protection. Since this is a 2010 body, budget for a new genuine battery as well. Old batteries lose capacity, and the buying used page explains why this matters.
If the seller turns out to be a specialist dealer rather than a private individual, the where to buy section covers the returns window and warranty you would get, which is the safer route at a slightly higher price.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.