Looks like you're looking for a second chance? you've come to the right place.
Depending on what you did some bans will have a time period some wont(perma ban), some may be voted by the community: (The ban will not be unreasonable.)
1. Mention why you were banned.
2. Say sorry to the community & how you will change what you've done.
3. Why should you be unbanned?