Reindex or Analyze Tables on PostgreSQL after import


I used PostgreSQL 9.5 on a server and I ended up migrating the data to a new server using PosgreSQL 12.

Should I perform a REINDEX for all tables or just ANALYZE for all tables?