Screen goes black after Windows logo

I have a dell latitude and recently, it goes black after powering on. I also noticed that My power button is not working as well. I reinstalled windows and everything was working well then after sometime, I heard a sound as if I had plugged in a flash drive then the screen went black again. What could be the problem?