You can use it as below:
string FieldName = "Test Field";
//you can pass the display name, internal name of static name in the GetField method
SPField field = olist.Fields.GetField(FieldName);
var fieldInternalName = field.InternalName;
According to this - SPFieldCollection.GetField , the GetField methods gives you the field data by passing it a string with either internal, display, or static name of the field.
Or alternatively, you can use it as below:
string FieldName = "Test Field";
//accepts the fields display name only
SPField field = olist.Fields[FieldName];
var fieldInternalName = field.InternalName;
Reference - SPFieldCollection property to get the field data.
After that, you can use the InternalName and fetch your value.
Reference - SPField.InternalName