Explaining multiclassing takes up two pages in the PHB, it is a bit complicated to summarize. There are ability score prerequisites, you only gain some of the proficiencies of the new class, your spell slots are based on total character level (spellcasting classes only), spells known and prepared are based on individual caster level, certain class features do not stack or have special rules (Extra Attack, Channel Divinity, Unarmored Defense).