In regard to the law, it is generally advised not to confess a crime to the police. What can be done if you have confessed already? Discuss strategy with your criminal defense attorney. One option would be to file a motion with the court to suppress the use of the confession at trial. In other words, the prosecution cannot use your confession at trial if it was not freely and voluntarily given. Courts often look to the circumstances surrounding the confession when deciding if it was voluntary, such as the defendant’s age, maturity, prior experience with the criminal justice system, length of detention, and the nature of the interrogation (the police’s line of questioning that led to the confession).
Police officers are highly trained in interrogation techniques that are designed to extract confessions from unwilling suspects. Officers often employ trickery and deception when obtaining confessions. The courts on occasion have held some confessions to be involuntary where the police imply that no charges will be brought or the suspect will escape from punishment if he confesses. It's not uncommon for an interrogating officer to imply that the suspect could avoid a felony conviction if he or she confesses.
It is important to obatin competent legal representation at this point. An attorney can advise you of the specifics of your case, and how to potenatially reduce punishment, even after a confession.