SAme as painting any other metal... Primer, then paint..
Careful though.. The foil will bend easily and cause the paint to crack, no matter what you use...
Unfurled flags that are "flying" or being help up by troops (like air recognition flags and panel-markers) are better constructed from epoxy putty, roled out thinly and painted normally.. They won't bend while you handle them..