Examples of using "ばかなことをした。" in a sentence and their english translations:
I did something stupid.
He cannot have done such a silly thing.
You should have known better than to trust him.