Matthew Stafford and the Los Angeles Rams have agreed to a contract extension, ensuring he stays with the team for 2025.