Hi @mart94580734
Has the phone been dropped or gotten wet at all?
When there is service how many signal bars are being shown i.e. 1←→5?
If 1 bar or more is showing when it works and then none it may be a hardware problem.
If none when it works and then it doesn't work, it may be the location of the phone or perhaps some strong electrical or physical interference that is preventing the signal being received by the phone with sufficient strength.
Here's the service manual that may help.
Go to Sect. 8-4-27. GSM 850/900, WCDMA B5/8, LTE B5/8/12/13/14/17/18/19/20/26/28 RX on p.85 (of 102 pdf) and follow the flowchart to see how far you get.
Use the search function in your browser to find the locations of the components mentioned in the flowchart on the board layout diagrams in the manual. (You will have to zoom in a lot to find them)
If you find a faulty component that needs replacing, there's a parts list as well. Search online for Samsung (insert wanted part number) to find suppliers.