Refresh label text

How to refresh label text or how to remove(delete) the label text after certain time period.?
Can you please give me some sample example code.?

Thanks,
Rakesh

You can use LittlevGL tasks.