Barding Inspiration has this rule (PHB page 33, emphasis mine):
...you use a bonus action on your turn to choose one creature other than yourself within 60 feet of you who can hear you. That creature gains one Bardic Inspiration die, a d6. [...] the creature can roll the die and add the number rolled to one ability check, attack roll, or saving throw it makes.
If I roll an 18 and get a 2 or more on my Bardic Inspiration die, do I get a critical hit?
Note: This question was inspired by a ruling made by Jeremy Crawford that Cutting words can cancel a critical hit. He then later changed his mind, as explained in a different question. The answer to this question is still accurate, however (though it might require rewording), so I decided to keep everything here for posterity.