Have different sources of the language you want to study. Expose yourself a lot with the language and eventually, you will get to know the grammar rules of the said language. Make sure to take advantage of any resource you have. Read books, listen carefully on conversations, and watch movies/shows (at first you should use subtitles so it's like listening and reading at the same time).
Good luck!