First time using a cup, urgent please help!

Proggya

Okay so I'm 20 and it's my first period using a cup. So I wanted to ask whether its safe enough to use a cup overnight without using any pantyliners or such?

And is it necessary to boil the cup in hot water everytime I empty it?