I think you need to define "nasty," because different situations call for different actions.
If it's thread nests and tangles, it's something to do with the top thread, and it may be as simple as remembering to put the presser foot down or rethreading the machine. If it looks like a straight line of thread, your top tension needs adjusting...or maybe the bobbin.
Janet