2001 BMW 325i Q&A

2001 BMW 325i Question: car will crank but cuts right off wont hold a crank.

at night it didnt crank drove about about 2 hours to another city came out of the house and it wouldnt crank but for a little while -
Answer 1
need more info to help -