Refrigerator & Freezer not working

Hello, I had a question about what might be the problem with my parents refrigerator.

I noticed that the fridge was making a loud noise. This happened when both doors were closed but once one door was open, the noise stopped…when it was closed, the noise continued.

So then a few weeks passed and then the fridge and freezer lowered in temperature and was just warm on both ends.

thank you for any help in advance