I think you're looking for the Hochschild-Serre spectral sequence. It's slightly more complicated than a long exact sequence, but you can extract the very concrete "inflation-restriction sequence" out of it.
Your general question is a little too general to get a good answer, though there are some good other questions on this site that you will probably find very helpful, e.g.,