Question Pc having a hard time booting

Feb 27, 2019
Ive been experiencing this problem for about a month now, and decided so seek some help, maybe someone here could help me

When i turn on my computer i hear the fans starting up, and the light comes on but theres nothing on the screen, and the fans are not running on nearly the speed at which it runs normally when booting. After a couple restarts varying in number, the pc finally boots normally, but i get a screen saying the pc has posted in safe mode. When the pc does not boot there is only case and motherboard lightning, no keyboard and mouse, and the led thingy on the motherboard shows theres something wrong with booting.

A couple months ago i had problems with having like 4-5 bsods when booting, it has stopped now though

Intel core i5 8400
Founders edition Gtx 1060 6gb
Mobo: Asus ROG Strix Z370-E
Drive 1/Boot drive: Kingston Ssdnow 240 gb
Drive 2: Seagate barracuda 1tb
Power supply: corsair something 550 w
16gb of HyperX Predator DDR4 at 3000hz
Nzxt s340 elite case

Any help is appreciated