However, if you're using it in a sentence where it's introducing a dependent clause, then you would use a comma:
* Example: Thanks a lot, I really appreciate your help.
In this case, "I really appreciate your help" is a dependent clause that needs to be separated from the rest of the sentence with a comma.
Otherwise, you can usually write "thanks a lot" without a comma.