Which Samsung model of phone did you buy from your friend @zimma71 ?
I see from your following post that you've lost confidence in the phone and are looking to move Manufacturers.
If you would like any troubleshooting guides then please don't hesitate to post back.
Until then I wish you well with your next choice.
Daily Driver > Samsung Galaxy s²³ Ultra 512Gb in Phantom Black.
The advice I offer is my own and does not represent Samsung’s position.
I'm here to help. " This is the way. "