My apartment has tankless water heaters. What can I do to make sure I have hot water when I come home?

I work night shift so I've been coming home for the past 3 shifts with no hot water after running it for 20 min and still not hot. I have hot water in the afternoon but not morning. Are there any tips you could give me?