There are a few unwritten rules about writing research papers. These are:
(1) If you don’t publish it, it’s not done.
(2) The ownership rights of the paper is given to the one who publishes it.
(3) Not doing peer review means producing low-quality work.
(4) Writing down your paper in layman’s terms makes it better for everyone.
(5) Writing a paper is the only way to know what you’ve done in the future.
The sections of a paper are: an abstract, introduction, methods and experiment, results, discussion, acknowledgments (optional), literature cited.
Before even writing the section of the paper, you have to go through the experimental process. What you do in the experimental process will determine what you write in the paper.
What you did in summary goes to the abstract. What the problem is goes to the introduction. How you solved the problem goes to the methods and experiment. What you found out goes to the results. What it means goes to the discussion. Who helped you out goes to the acknowledgments. And whose work you referred to goes to the literature cited.