If your PCB is guided by rails (as in 19" systems): place the heavy components near one rail; and, in mobile applications, make sure that the PCB cannot be shifted within the rails by the weight of the component when the device is moved.
If your PCB is screwed to a carrier (as mainboards in personal computers): surround heavy components by screws.
The idea in both cases is to minimize the distance between the center of gravity of the heavy component and the attachments of the PCB in order to avoid a large mechanical vibration amplitude. An additional way of rendering a PCB more rigid would be to solder in supply rails. These are intended to reduce the voltage along the PCB tracks carrying high current; but since they are made from upright metal strips they improve the mechanical rigidity of the PCB as well.
Always use plated through holes. In the early days of exclusively single-sided PCBs, a not uncommon kind of defect occured in the solder points of high power resistors: while heating up and cooling down the size of the resistors changed slightly, causing small movements of the wires, resulting in broken solder points in the long run. Plated through holes result in more robust solder points.
If the component is really heavy (as a large transformer): Don't let the PCB carry the component; instead, attach the component to the carrier (housing etc.), and let the PCB be carried by the component. Or, in the case of a large PCB, mount PCB and component separately, and connect them by wires.
Dear Dr Zainab HUSSAM Al-Araji . See the following useful link: https://www.chegg.com/homework-help/effective-method-installing-components-printed-circuit-board-chapter-39.4-problem-1q-solution-9781401889005-exc