Reason of getting penalized/banned from search engine: It is mostly due to usage of Black Hat SEO techniques such as keyword stuffing, duplicate content, reverse/negative SEO, cloaking etc.
To check penalized website: You can check through Google Webmaster tool or manually check by typing the url or name of your website on Google's search query box. If your website is not there, then it means it's penalized.