Dents happen when hard things knock against your car body...as for fixing it....any decent car paint shop can arrange for you - price depends on the severity of the dent. Watch out for dents which have reached the bare metal body as it can lead to rust.
Just me 2 cents worth...