Poor placement of a dental implant may be prevented by the following measures:

Use drag & drop.

Planning of implant position
Assessment of implant site by measuring available space
Assessment of implant site by clinical and radiographic observations
Construction of surgical template
Intraoperative measures