If the editor asks you to revise your article, you will be given time to make the required changes before resubmitting. When you receive the reviewers’ comments, try not to take personal offence to any criticism of your article (even though that can be hard).
Some researchers find it helpful to put the reviewer report to one side for a few days after they’ve read it for the first time. Once you have had chance to digest the idea that your article requires further work, you can more easily address the reviewers' comments objectively.
When you come back to the reviewer report, take time to read through the editors' and reviewers’ advice carefully, deciding what changes you will make to your article in response. Taking their points on board will make sure your final article is as robust and impactful as possible.
Please make sure that you address all the reviewer and editor comments in your revisions.
It may be helpful to resubmit your article along with a two-column grid outlining how you’ve revised your manuscript. On one side of the grid list each of the reviewers’ comments and opposite them detail the alterations you’ve made in response. This method can help you to order your thoughts and clearly demonstrate to the editor and reviewers that you’ve considered all of their feedback.