Pilots rotate the aircraft after they reach prescribed air-speed to a predetermined pitch rate and attitude. The geometry of the aircraft is such that at prescribed air-speed and pitch attitude, an aircraft that is properly load and in takeoff configuration will leave the ground without tail-strike.
Once you bonk the tail, you’ve become a test pilot. As you’re not getting paid to be a test pilot, you immediately return to land.
Of course, if you don’t realize that a tail strike has occurred, there is no decision point and the flight continues to the destination. There are several instances when this has happened. The crew coming to take the airplane notices scraping on the underside of the tail during the pre-flight inspection and it’s later determined that the previous flight has had a tail strike. The vast majority of the cases result in a detailed inspection, repainting, and a return to service.