That really depends on the situation, but if you were unresponsive to doses & your symptoms didn't improve, the provider overseeing your care would typically increase your dose & order testing as needed.
There isn't a max dose set in stone, but a provider wouldn't prescribe anything outside safe or legal limits at the very least. Something crazy high like 400mg weekly would be an example where there almost certainly has to be something else going on.