HI Gaddam,
Thank you for your post. I will try my best for you.
I understand that the computer shuts down automatically and you cannot restart it for a day or two. This is usually caused by an overheating issue. Here is a link to Troubleshooting an Overheating and Auto Shutdown Issue. I am also providing some documentation on no boot. Troubleshooting No LED Lights Glow During Startup or Boot.
If you require further assistance would you please provide your exact model. How Do I Find My Model Number or Product Number?