After you file

I don't know where you came up with line 23.

 

The amount you owe, in bold letters is 1040 Line 37

You can pay before, with, or after your submission.

 

@ZachV