Masculine or feminine noun?

I’m having problems knowing whether a noun is feminine or masculine when I am trying to translate from English to Spanish, and I don’t know the word exactly, for instance:

  • la desvantaja or el desvantaje?
  • el escenario or la escenaria?
  • (and many others)
    Can someone help me with some rules?