I recommend you this Grammar edited by Oxford University Press. Here you will find the explanations of basic structures in English and also many exercises. You can also check your answers because there is a version with keys. I think that it is very useful to buy a grammar if you want to continue studying English.
There are many levels: Basic, Intermediate and Advanced. Choose your best!