Welcome to the site, first of all!
It would be helpful if you could please provide us with some more information about your tank and fish like listed in the sticky thread in this forum. Especially your exact water parameters like ammonia, nitrite, nitrate, and as well ph.
Hanging out at the surface often indicates lack of oxygen, so is the Oscar breathing heavily?
There are various possible causes for a production of excess mucous, like poor water quality, wrong ph or significant fluctuation of ph, or as well some parasite induced condition called slime disease, caused by protozoan or worm parasites. I haven't seen the latter in all my life though, so I believe it's not really common.
Did you add any chemicals to your tank recently like ph adjusting stuff or used anything unusual to clean the tank?
Until you can give us more info I'd advise you to do a water change of at least 30% as first thing, with adding dechlorinator, to help with any possible toxins in the tank or a very low or high ph.