i use these two acronyms LONERS and DionZA
any noun ending with the letters L, O, N, E, R, S are usually masculine.
any noun ending with the letters D, -ion , Z, A are usually feminine.
There are exceptions and those you will have to learn case by case like el agua.
Hope this helps