The are 6 different ways across 3 unique modes of transportation to help you travel from Urabain to Barcelona. If you're only considering the price, you should check out the bus out of Logroño towards Barcelona, as it is the cheapest to Barcelona. It's common to find tickets for as low as $20. ALSA operates from Urabain to Barcelona, so you book your trip with them! Book as soon as you can, as there may be limited availability.
On your trip from Urabain to Barcelona, it is best to book as soon as possible. It won't necessarily help reduce your price by a large amount, but will ensure that you have a spot on the bus or train.