Once you start the adjustment of status process after getting married, your F-1 visa will be useless for reentering the US. You'll need to apply for Advance Parole (AP) along with the adjustment of status paperwork if you want to travel before the green card is approved. AP takes about 2-3 months to be approved, during which you must not leave the US.