Can a fighter attack with a longsword and a club using Attack action or Extra Attack must use same weapon?

Ranger with Arrow +1 and bow +2. Do the bonuses stack, or take the higher?