Jeep Wrangler Brake question

What year wrangler?
Does the emergency brake hold.
Are you loosing fluid.
My guess is pads/shoes are shot.
Second guess is master cylinder has took a crap.