How did God get created?

God was not created - he was simply there.

Catholic Answer

The 4th Lateran Council and the First Vatican Council both attribute to God "eternal". That is, God possess the Divine Being without beginning and without end. God simply is, as the first answer puts it, He has no time, no before, no after, no succession, and is absolutely without mutability (no change). Or as one of our great philosophers once put it, God is the uncreated Creator.