Mi maestra es SIMPÁTICA she’s only one and a girl so yea
There are some rules, but the pronunciation is also important.
If the word ends in a vowel, an “n”, or an “s”, stress the last-but-one syllable:
If the word ends in a consonant other than “n” or “s”, stress the last syllable: ...
If the word has an acute accent, ignore the above rules and stress the accented syllable:
Their colors because it describes that the dolphin is pink and gray and that the killer whale is white and black