the hard wayby having an unpleasant experience or by making mistakes
Found that out the hard way at a birthday party.