Just ensure that you are fully latching the drivers door closed, then ideally fit your seat belt, then depress the foot brake fully, before you even touch the gear selector switch to select drive.
If you turn the gear selector wheel even a split second before you have followed the previous steps...