It sounds like you were not making the espresso correctly from the taste you described. Maybe try experimenting with the variables like Grind size or fill level a bit to see how the taste changes. If you still have the machine I would be happy to help you make better coffee.
It could also be the age of the beans, have they been recently roasted?