Here are some ways to use it in a sentence:
* تبریک به شما! (ta-brik be shoma!) - Congratulations to you!
* تبریک میگم! (ta-brik migam!) - Congratulations! (informal)
* تبریک به خاطر ... (ta-brik be khatere...) - Congratulations on...
* از طرف من، تبریک میگم! (az taraf-e man, ta-brik migam!) - Congratulations from me!