Choose the correct sentence

He gave me an advice.

He gave me advice.

He gave me a advice.

He gave me an piece of advice.

He gave me a piece of advice.