Prepare any oscillator depending on your requirements. Give the DC suplly to it for operation.
Take the output in AC form. Hence DC is converted into AC.
Now connect some driver transistor to handle the required load.
If there are further questions, pl. feel free to ask.