The universal core is your passport, valid for the required period beyond your stay (six months is the common benchmark), plus your visa or electronic travel authorisation where needed. Beyond that, officers may ask for evidence supporting your stated purpose: a return or onward ticket, proof of accommodation such as hotel bookings or a host's invitation letter, and proof of funds via bank statements, cards, or cash.
Most travellers are never asked for the supporting items, but the moment questions arise, having them printed or instantly accessible turns a long secondary inspection into a two-minute chat. Some countries also require arrival cards, vaccination proof depending on where you have travelled, and travel insurance for certain visa types.
A sensible kit: passport, visa printout, first accommodation confirmation, return ticket, one recent bank statement, insurance certificate, and the address of where you are staying written down, since arrival forms always ask. Check the destination's official entry requirements before flying, as airlines enforce them at check-in too.