Are there basic rules which can help? Not really, apart from the basic one of having a good dictionary, using it, and writing your own sentences using the word. Even for native speakers, practice makes perfect.
You could try this site for a start: Susan Jones' Spelling Rules
Student or Learner