So there are multiple ways to earn experience points, but the general goal here is to reach level 20.
Complete side quests, main campaign story missions, kill anyone and explore everywhere you can go as long as it’s safe to do so. Eventually, you will reach level 20 and the trophy will unlock.
Have fun and good luck!