“first” is more widely used than “firstly”. “first” can be used as a noun, adjective and adverb, and sometimes it can replace “firstly”. “firstly” can only be used as an adverb in case of listing facts or reasons.
It was the first time they had ever met.
It makes you look firstly at how you're treated and secondly how you treat everybody else.