frp and combinition file

when we received a Samsung phone with frp protection, how we know which version in phone and which combination file perfect for phone? and we download for flash? when we get in download mode there is not show phone version info. if we flash wrong file then what’s result and after flash wrong file what we need mean what is the solution? full flash or any other solution? plz guide me step by step.
thanks:)