Can I travel to India and come back before my visa expires?

My F1 visa is expiring soon. Right now I am on OPT and working.

Can I travel to India and come back before my visa expires?

How many days beofre I can/should come- 2 days are enough?

Please reply me if you know the answer. I have to make urgent decision.

Well, as per regulations, you can travel and come back on OPT, many have done like that as well. But, it can be a risk at times to travel on OPT. You need to carry your Job offer letter and etc to ensure proper re-entry. If you can avoid, avoid travelling on OPT. Regarding how many days, technically it is possible. Why do you want to stay and cut so close to the day…I know my cousin came back about 10 days before just to avoid issues…