please help needed urgently- heart rate sensor not showing values correctly

This is not urgent. The problem is that you are in way over your head.

We recommend that beginners start at the beginning, following the provided and on line tutorials to blink an LED, read a switch, a voltage or a sensor, use the serial monitor, etc.

That way you learn the language and special features of the Arduino and avoid the sort of frustration you are now experiencing.