After your visa expires, you get a 60 days grace period to get ready to depart for your home country. You can apply for a visa renewal or extension if your visa is not valid for the whole time that you will be in school in the US.