How to use "banged" in a sentence

Sentences

It was only 4-5 metres square and the door banged against the bedside table

"It doesn't sound like that." Sala banged her drink down

I want the truth-' He banged his hand on a table.