Patch rejection during code review is one of the main challenges faced by a new contributor to an open source project. In many cases, the initial rejection leads to patch revision, resubmission and further reviews. This affects the productivity of contributors and reviewers, and most importantly affects the morale of the contributor. It is observed that, a lot of new contributors abandon their patches after few rejections. In this talk, I discuss various best practices for authoring your initial patches so that the chances of rejection will be less during code review.