How long does it take for the flank pain from a kidney infection go away? Only have 2 days of amoxicillin left and it's not as bad but still hurts

Varies. I would drink more fluids in the meantime to help flush out your kidneys. Stagnant water the enemy. Your kidney likes to have liquid to filter.