HUD not showing please help

So I created a HUD and I have all code right but it does not display I did put HUD class but did not work

Show us how you create and add the widget to the viewport.

You need to have this somewhere in your level. Create the UMG Widget, then add it to the viewport.

Don’t forget sellect Class to your named widget