When to take iron supplement

Fr

Just found out today I'm anemic, so my OB prescribed an iron pill. I'm trying to determine the best time to take it.

The insert says to take on an empty stomach and not eat for an hour after. Don't take within 2 hours of drinking coffee or eating dairy (both reduce absorption).

I'm thinking of taking it before bed? If you are taking an iron supplement, when are you taking it?