First, before riding a train, buy a ticket via cash or charge an IC card such as PASMO or Suica with the fare amount at a ticket vending machine.It is best to use IC cards when traveling from Yokohama and for entering other companies' railway lines.
Please check the fare table on the ticket vending machine for the destination and purchase a ticket for the appropriate amount. Or charge an IC card such as PASMO and Suica with the amount.