Help, car keeps dieing

Check the belts and leads and grounds. Everything looks good there. The battery is a brand new optima red top.