What I did to improve my grammar is proof-read what I wrote. It may sound stupid but it helped me improve my grammar. Next to that is reading English books and listening to English songs. I wanted to have a better grammar than everyone else either in school or on the internet. Pronouncing words helped me also. If that isn't enough, you can take online tutorials and ask a friend, who is good in English, to help you improve your grammar. Good luck!