Ford Fiesta 1.25 2001 - fiesta 1.25 rattley engine and fan coming on. - dazza2471

Hi guys, i have just bought a 2001 fiesta 1.25 with 87000 miles. When the car is cold or has been sitting around it makes a tappetty sound when you rev it up and drive it. This last about 2-3 miles and then starts to quiet down vertually to nothing. Also the fan has just started coming on after 15 or so minutes but the temp guage is in the middle and the air con is switched off. Hope somebody can help. Thanks very much