How to function properly in society after getting enlightenment? I am near. May be few hours or days. Right now it is getting a little harder to behave properly according to the society. I just don't talk much because I don't have much to say.
I'm not able to engage with people. All I do is keep sitting in silence in bliss, sometimes solving mathematics or playing chess or listening music.
Putting aside the doubts whether you're close to Enlightenment or not... Or even if there is such thing as "Enlightenment"... And whether Enlightenment is something that can be attained by "me" at some point, and then retained for ever... And whether someone enlightened could still have questions about what to do and how to behave... In other words, assuming your question is valid,

When you get "enlightened" you lose your reference point. So it may be hard to decide what's good / what's bad anymore. "What do I want? What should I do? Should I do anything at all?" -- nothing seems right or wrong by itself, in some sense it's all invented by people. Nothing is important, nothing is serious, all this stuff that normal people engage seems pointless. Hence the question about "how to behave in society" - did I get this right? I hope so.

There are two parts to an answer my teacher gave me when I asked.

First, regarding your own purpose and meaning of life. From the perspective of the Absolute Truth, you are free. You can literally do anything. If you want to play games, you can play games. If you want to drink yourself to death, you can drink yourself to death. If you want to go to other worlds, you go to other worlds. If you want to teach, you can teach. If you want to do nothing, you can do nothing. There is no reason to sit and worry what's the "best" thing to do, because there is no "best" thing to do, they are all equally pointless in the big scheme of things. In fact, the best thing to do is probably to arbitrarily choose any idea X that you like, and be totally serious about it, as if it was indeed a serious thing you believed in.

However, from the perspective of life here on planet Earth, actions lead to results. What you do and say has effect. And all the people around you still feel pain, they still have their lives. If you stand up and walk out of class, this may look harmless to you, and the teacher's frustration may seem funny and unjustified (in the big scheme of things) - however, by doing that you're setting bad example to other students and you are making the teacher unhappy. So even though everything is free and empty, you just created a little island of chaos and suffering in your immediate locality. See what I mean? So the best way to function in society, is to always, always, always be mindful of the perspective of others. What will they feel? How will this affect them? Will this action lead to peace and harmony for others or will it lead to conflict and negative mindstates for them?

By combining these two principles -- the absolute and the local -- we arrive at the enlightened behavior: combination of spontaneous freedom with no reference point, and tremendous empathy/responsibility for everything you touch in your spontaneous dance.