Is afterwards formal?
The first would be more common in formal written English. Both are common in spoken English. However, the two words afterwards and after are not interchangeable. The preposition afterwards is intransitive and doesn’t take a complement.
What comes after in English?
After, afterwards After means ‘later than’ and ‘next in time or place’. After can be used before a noun phrase (as a preposition):