You can empty the beer into a bowl or some other large container that holds many several times the volume of the bottle, stir with a spoon, and when the carbonation is at a tolerable level pour it into a glass. Or you could just use the beer in cooking, chili, beer-cheese soup, marinade, etc.