We are living next to a railway line and crossing. However there's things that can be done to help with noise.

Laminate coatings put on windows OR changing to soundporrof glass windows.

Inserting spray-in sound insulation into walls facing the road (will require some holes punched into the walls but can be filled in).

Recladding the road side of the house with new sound-proof cladding.

Growing trees or replacing the fence with sound-proofed materials.

And also you do get used to it and in some ways becomes comforing as you know that people are around.

I like being able to walk to the shops and the library. In this day and age of high petrol/gas costs I think that this is becoming more and more important.