Greetings @pritamdas2017,
Welcome to HP Forums and Thanks for the post.
I understand that you are not getting any display on your computer, but are able to hear the fan spinning.
Not to worry, I will be glad to help.
Have you tried any troubleshooting steps on your own?
Have you tried to connect an external display?
May I know the exact product number of your computer? Click here. Please do not share the serial number of your computer.
Recommend you attempt restoring BIOS are performing a power reset.
Please disconnect any devices connected to your computer.
If you have any USB or DVD in the computer, please disconnect it.
Perform a power reset on the computer. Click here for assistance.
Disconnect the adapter, remove the battery (if it can be removed)
Hold down the power button for 30 seconds to drain the static in the computer.
Connect the adapter and battery to the computer.
While holding down Win + B keys together power on your computer. Click here.
If the issue persists, please refer to this HP Article for assistance.
Let me know if this helped.
Chimney_83
I am an HP Employee