Won't start one day and fires up first crank next day

Mine did this and it was the ECU box