After Germany surrendered, what did they do with the remaining soldiers? Did they question them, execute them, or simply put them in prison?
More of course can be said, but denazification is a topic that has been asked about before, and /u/kieslowskifan has a number of excellent answers on the topic, which do speak to parts of your question here, and also would be of larger, general interest to the topic as well. Not to discourage further responses, but do check out these links:
https://www.reddit.com/r/AskHistorians/comments/b6w6ym/nazism_in_postwar_germany/ejouod0/