You asked
Which 50mm or 85mm lens suits portraits indoors on a lumix s5?
For indoor portraits on the Lumix S5, the guide's pick is a fast 50mm, with the 85mm as the next step up if you have room.
The Panasonic Lumix S 50mm f/1.8 is the sensible starting point. It is made by Panasonic for this mount, it is small, and it gives a natural, slightly tight view on the S5's full-frame sensor. In a small room it is easier to work with, since you can stand back far enough to frame a person without backing into a wall. The Panasonic Lumix S Pro 50mm f/1.4 costs more and gives up size, but it lets in about a third more light and gives softer backgrounds, which helps when the room is dim.
For a more classic portrait look, the Panasonic Lumix S 85mm f/1.8 flatters faces and blurs backgrounds nicely. Indoors, though, you need several metres of room between you and your subject, so it suits larger rooms. If you want the faster option, the Sigma 85mm f/1.4 DG DN Art gives more light and blur, but it is bigger and heavier.
The S5 has in-body stabilisation, which steadies the camera when you shoot at slower speeds, but it does not stop a moving subject from blurring. For indoor portraits, the lens's maximum aperture matters more. Check the lens pages for current prices, as this answer does not quote them.
Read the portraits guide for more on how each focal length works for people.
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}.