What happens when you lie on court papers?

It is called perjury and it casts doubt on any statement you make in the court. The court can also fine you or arrest you depending on the nature of the case.