You asked
Is a 50 135mm f 2 8 better for headshots than an 85mm f 1 8 on aps c?
The guide leans toward the 50-135mm f/2.8 for headshots. Its portrait advice favours longer focal lengths, because standing further away keeps faces in proportion. It also names 135mm or 70-200mm f/2.8 as the choice for tight headshots with strong background blur and room between you and your subject. The Pentax smc DA* 50-135mm f/2.8 is a zoom made for APS-C cameras, so it covers that range on your body. Its f/2.8 is slower than the 85mm's f/1.8, but it gives you reach and framing options in one lens.
The 85mm f/1.8 is the faster lens, and faster means more light and more background blur at the same framing. The guide's sensor notes say an f/1.8 lens on APS-C gives about the depth of field of f/2.8 on full frame. The portrait page describes the 85mm as the classic full-frame portrait lens and gives a 56mm f/1.2 to f/1.4 as its APS-C equivalent. So on APS-C, an 85mm is a longer lens than the guide's usual portrait choice, and the guide doesn't give a direct APS-C verdict on it. This site has no catalogue page for that 85mm, so the guide can't confirm its fit, price or availability.
For headshots specifically, the 50-135mm is the closer match to the guide's advice. If you shoot in dim rooms and want the most blur for the money, the faster prime would be the one to test first.
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}.