Assuming the linkage between the throttle pedal and the engine is unobstructed (something you can check visually by checking around the gas pedal or floor mat for foreign objects that may be obstructing the path of the gas pedal), a sticky gas pedal is almost always due to accumulation of unwanted goo at the throttle body. This makes the action of opening and closing the throttle a notchy, imprecise operation.
A top-rated mobile mechanic will come to your home or office to determine the cause of the stuck gas pedal, and will then provide a detailed inspection report that includes the scope and cost of the necessary repairs.
A stuck gas pedal presents a potentially dangerous situation and should be inspected by a professional mechanic as soon as possible.