I'll do my best. I've never treated for either, but here goes:
EMpty out the crop by holding them so their head is point down and massaging the crop. Liquid should come out. If it smells bad it is probably sour crop. Make sure the hen has a chance to breath while empty her out. Keep her inside and cease feeding for 24 hours (according to some at least) and provide clean water. Others suggest putting some baking soda into the water.
Offer soft food after 12-24 hours, not hard food. Confine the bird in a crate or in a coop. Good soft foods include scrambled eggs, plain yogurt, and softened bread.
Repeat the emptying on the crop every day until it is better. If it persists for a week, they may need antifungal medication.
Impacted crops can be treated by flushing the crop with water or a bit of oil to help break up and get rid of the ball of stuff. If oil, water and massaging does not it better, then a vet will have to do surgery.
Here is a quote from someone on BYC "just treated my hen a week ago for sour crop. I held her under 1 arm like a football and tipped her over while massaging her crop upwards, she was sick this way and emptying the stuff out of her crop (it stunk). I did this morning and early evening every day till she was better, it took 3 days to clear her crop. I kept her in a cage so she could rest and not access any other food, i put acv in her water and fed her yogurt sprinkled with chick feed.
I was scared to make her vomit as i knew it was dangerous if she aspirated it into her lungs, after she did vomited i would lift her up for a few seconds to let her take a breather then i would tip her again and repeat the massaging.
It's surprising how much the bring up."
Best of luck!