Tell the bus driver what happened and discuss with him or her how to get to your destination. Note that, in principle, you must pay the fare for the route you have mistakenly boarded.