you can retract your bid, but only for certain reasons and during a certain time period...search ebay's help for bid retractions.
Once you win, you're obligated to buy, but you can sometimes contact the buyer and explain the situation and see if they'll let you out of the contract.