A/B testing is a testing technique, by dividing a main target in 2 versions: A and B, to check whether users like version than through the way that users interact with each edition.
How to apply it?
Test 2 versions A and B till you find the best result as you expected then you found the best version (A or B) to continue invest/add value to it.