I believe it depends if it's a sentence in itself. I'll show you two examples.
1. This is a generic sentence (I couldn't think if anything better).
2. This is a generic sentence. (I couldn't think if anything better.)
Notice how the first one includes the parentheses inside the sentence, so the full stop is after.
The second one has it outside the sentence, so the full stop is inside.
This has been a community service announcement brought to you by ParadoxVoid.