The code uploaded successfuly but it doesn't work

After uploading the code, nothing works, including the functions in the void setup() section. However, when I remove the MFRC522 library and its associated functions, the Arduino works correctly.