To “bite the bullet” means “to accept that something is going to be unpleasant and deal with it anyway”. For example, you could say “I decided to bite the bullet and take my punishment without fuss.”
It is thought to have originated from battlefield surgeries which were often performed without anesthetic. Apparently, soldiers would bite down on a bullet to distract from the pain. Interesting, right?