How to make a function?

I would like to make a function containing a void.
how would i do this?

void DoSomething() {}