Welcome to the club...you're definitely not alone.
Here's something you may not know : most native English speakers are no more sure about whether certain words are spelt with an 'e' or an 'a' than you are. Maybe even less so.
Typical misspellings by native speakers are seperate and permenant. Unstressed syllables containing 'a' and 'e' sound the same, so the pronunciation isn't going to help you, either. Words ending 'ent' and 'ant' are particulary tricky, because they sound identical and there really does seem to be no rule : some words ending in this way are spelt with an 'a' and some with an 'e'. There are even some words, such as dependent (an adjective) and dependant (a noun) or the homophones stationery (meaning writing materials) or stationary (meaniing immobile), where both forms exist.
So what's the solution? As Aliph says, you need to read. You need to expose yourself to as much correctly written English as possible. Keep away from poorly written blogs and online comments, and read decent novels, magazines and newspapers. Write as much as you can, too, because the act of writing reinforces good spelling. I only know that separate is right and seperate is wrong because I have seen this word written correctly enough times in my life to notice when the word is misspelt. You should try to do the same. Rules won't help you. Exposure will.