+0
Please help me to correct them if got any mistakes.

One Sunday, it was windy. Peter invited his friends to play basketball. Peter was very good at shooting the ball into the goal. They enjoyed playing it. Soon, the sky was getting dark. It started raining in the evening. Peter and his friends enjoyed playing basketball (in / during the rain) despite it was raining. Their shirts were wet all over.

They stopped playing when it was raining heavily. They took shelter under a big tree. After a short while, the sky was clear. They were pleased and continued playing for two hours. They left for home when they felt tired.

At night, Peter felt unwell. He had a high fever and laid in bed with agony. His mother took him to see the doctor. After taking medicine, he rested at home for 2 days. / He was absent (from school) for 2 days. He really learnt a lesson from the incident.
+0
I have underlined problem areas. Please try to correct them:

One Sunday, it was windy. Peter invited his friends to play basketball. Peter was very good at shooting the ball into the goal. They enjoyed playing it. Soon, the sky was getting dark. It started raining in the evening. Peter and his friends enjoyed playing basketball (in / during the rain) despite it was raining. Their shirts were wet all over.

They stopped playing when it was raining heavily. They took shelter under a big tree. After a short while, the sky was clear. They were pleased and continued playing for two hours. They left for home when they felt tired.

At night, Peter felt unwell. He had a high fever and laid in bed with agony. His mother took him to see the doctor. After taking medicine, he rested at home for 2 days. / He was absent (from school) for 2 days. He really learnt a lesson from the incident.
Comments  
Teachers: We supply a list of EFL job vacancies
Let me try:

One Sunday, it was windy. Peter invited his friends to play basketball. Peter was very good at shooting the ball into the goal. They enjoyed it. Soon, the sky was dark. It started raining in the evening. Peter and his friends enjoyed playing basketball (in / during the rain) despite raining. Their shirts were wet all over.

They stopped playing when it was raining heavily. They took shelter under a big tree. After a short while, the sky was getting clear. They were pleased and continued playing for two hours. They left for home when they felt tired.

At night, Peter felt unwell. He had a high fever and lay in bed in agony. His mother took him to see the doctor. After taking medication, he rested at home for 2 days. / He was absent (from school) for 2 days. He really learnt a lesson from the incident.
One Sunday, it was windy. Peter invited his friends to play basketball. Peter was very good at shooting the ball into the basket. They enjoyed it. Soon, the sky got dark. It started raining in the evening. Peter and his friends enjoyed playing basketball in / during / despite the rain. Their shirts were wet all through. They stopped playing when it began to rain heavily. They took shelter under a big tree. After a short while, the sky cleared. They were pleased and continued playing for two more hours. They left for home when they felt tired. At night, Peter felt unwell. He had a high fever and lay in bed in pain. His mother took him to see the doctor. After taking some medication, he rested at home for two days. / He was absent from school for two days. He really learnt a lesson from the incident.