It could be fluke, in which case if you don't treat they'll deteriorate and die.
If they're fit enough to go as they are, get them away asap, like this week.
Otherwise, if they've been wormed and it hasn't cleared up I would definitely be looking to fluke them. Most fluke meds are long withdrawal - up to 56 days - but some are less long than others, so check withdrawal periods before dosing.
You could try a faecal egg count before fluking, just in case it's a resistant worm or a worm your wormer didn't cover.
And as FW says, male sheep can get urinary calculi if fed ewe feed that doesn't have the additive. Always check with the supplier if the feed doesn't have 'Ram' or 'Tup' in the name, or carry a label stating that it's safe for wethers and rams.