Car won't start tried everything

Hello I have a 2005 Hyundai Accent gls. The car recently stopped starting randomly with no apparent reason. I got the car for relatively cheap so I started getting thing fixed on it spent a few hundred on it already in parts and none of which my vehicle actually needed. I changed spark plugs, fuel pump, coil

See your other post.