"Remedio" is a medicament... But in others contexts it can be used as solution for a problem, or is used as a exclamation for resignation (i think that this one is the mean of your question).
For example:
"No podré ver mi programa de televisión favorito esta noche, ¡qué remedio!."