You may be able to advance a frame or two past 36, but you should eventually feel tension on the wind lever once you reach the end of the roll. When you feel that, don't wind any further - just press the button and rewind.
The one way to be certain that film is advancing is to look at the rewind lever. When you wind the film, the rewind lever should rotate thereby indicating that film is moving.
Anyway, at this point I would not advance the film any further with the wind lever.
Are you able to press the button in at all? If so, can you rewind with the button held in at the same time? If not, your only solution may be to go into a closet in complete darkness, open the back, and try to rewind the film back into the cassette. What I'm worried about even in this case is that the take up spool (where the exposed film is) won't turn freely to let you rewind.