You asked
Best budget lens for the pentax k 5?
For a Pentax K-5 on a budget, the guide's advice is to spend about as much on a lens as on the body. A modest body with a good lens takes better pictures than a flagship with a cheap zoom (Your first camera). The site doesn't give prices for these lenses here, so check the price on each lens page.
The cheapest sensible start is the Pentax smc DA 18-55mm f/3.5-5.6 AL WR. It's a standard everyday zoom that covers most situations, and it's weather-sealed, which suits the K-5's body. Its aperture is slow, so it's better in daylight than in dim rooms.
For people and low light, the guide's first-kit advice is a cheap fast prime. On the K-5 the Pentax smc DA 50mm f/1.8 frames like 75mm on full frame, which is a classic portrait length. If you want something wider, the Pentax smc DA 35mm f/2.4 AL frames like 52mm and is good for general use indoors.
For distant subjects, the Pentax smc DA 50-200mm f/4-5.6 ED WR is an affordable telephoto zoom. It's slow, so it needs good light or a steady hand, and the K-5's in-body stabilisation helps with the camera's shake but not with a moving subject.
If you buy used, budget for a new genuine battery with the body (Buying used).
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}.