Do not lie to your attorney or in court. Your attorney is on your side and wants to help you. If your attorney knows you are lying in court, your attorney has an ethical obligation to withdraw from your case because you are committing perjury.