Anytime anywhere but if you can't get it up, I would really just suggest on contacting a doctor or physician to check it out... What do you mean before sleep or after taking a bath?! You can do it WHILE taking a bath and before sleep...hell you can do it all day if she was up for it!
I prefer first thing in the morning, lasts longer and sets you up with a smile on your face for the rest of the day