Don't lie if you were laid off or your job was terminated. The truth will come out, and if you secure the position, your future at the company will be in jeopardy. Answer with the facts. Be open and confident, providing valid reasons for losing previous positions.
If you were laid off, make it clear that your performance didn't contribute to the decision. If it was a termination, use a softer term like "let go." Then bring your skills and suitability for the job on offer back into focus. If possible, refer the hirer to referees who can vouch for your skills and performance.