In SQL Server, you manage the transaction log by first decide whether you will use it for backu purposes:
If not, set the database to simple recovery and the physical file will grow to the size it need to. SQL Server will empty the log by itself.
If you do, you typically use full recovery model and it is your job to empty the log. You do this by performing transaction log backups. Do regular log backups and let the log file grow to whatever file it need to have. If you ran in full mode and didn't perform log backup, then nothing emptied the log and you might well have a "too large" log file which you can shrink using DBCC SHRINKFILE.