This question already has an answer here:
I want to do a build that is Paladin and Oracle, but I can't seem to find any concrete information on going about this. If I start at Paladin, get to level 2, then level Oracle to 4, can I then continue getting levels in Paladin at total level 7, or can I not go back to previous classes?
One friend has told me you cannot do that, but I can't find anything online about it. We are playing Pathfinder and this is a new half-elf character starting at level 4, so I'm not invested in it yet.