H1 Stamping and Visa expires in four months

My visa expires in September month and i want to travel in India in April Month.
i got my visa in OCtober 2016 and havent went to India for VISA stamping. Is it safe to travel now for H1 Stamping when my visa is about expire.