'Prego' is a very polite word and can be used both in formal and informal situations.