You asked
Which 50mm lens with autofocus suits headshots on a tight budget?
The guide's pick for headshots on a tight budget is the 50mm f/1.8. The portraits page calls it the cheapest great lens in photography, made for almost every mount, and says that if you buy one lens for people, buy this. On full frame it gives a natural, slightly tight view. On APS-C it behaves like a classic 75-80mm portrait lens, which suits headshots well. See the portraits lenses.
The guide can't confirm that any particular 50mm lens autofocuses, because the pages don't state it. Check that on the listing for the exact model and mount before you buy. The catalogue also has three 50mm f/2 lenses, from TTArtisan, Leica and Zeiss, but their pages don't give autofocus or prices either, so the guide can't compare them on cost yet.
Spend roughly as much on lenses as on the body. A modest body with a good 50mm takes better portraits than a flagship body with a cheap zoom. Put a spare battery in the budget too. The first camera guide covers this split. If you buy used, budget for a new genuine battery, as the buying used guide explains.
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}.