ok my doctor ordered me to take keyflex for my ear infection but how long am i suppose to take it is there a time limit to taking this medication?