For those arriving in Germany by plane the simplest entry point will be either Munich or Nuremberg airports.

Travel from there to Weiden can be booked using the German Railways site bahn.de. Note that the most economic ticket is the Regional Day-Ticket for Bavaria which can be found on this web page:   https://www.bahn.com/en/offers/regional/regional-day-ticket-for-bavaria