Some classes, such as monk and ranger, grant feats automatically as you level up (like diehard and twf, etc.)
If you accidentally take one of those feats at an earlier level it appears that you end up losing that feat since at the level up it still shows you getting that feat (as a second time perhaps? but twf and diehard don't exactly stack with themselves) so I am wondering if you go to Fred to unlearn your feat if it will still be there from the second time you learned it or if your character is completely screwed out of a feat. Thanks for your help in advance.