You can stay up to 30 days in Hungary or as per the conditions mentioned on the visa.