Tourists in Spain have been given a top tip when it comes to using the country's public transport, to avoid a mistake.