Recording mixes

How do you go about recording a mix onto a laptop. Do you need any extra equipment? I have downloaded audacity but when i record the songs are very distorted. Im not entirely sure if my laptop has a line in slot so is it still possible to record?

Thanks in advance for the help

What do you mean exactly? Are you using CDJ’s or Ableton?

I am using technics turntables and serato. The problem is the sound quality is very distorted and im not entirely sure what way to set up for recording. What is the best piece of software to record onto? Whereabouts do you put the line out coming from your mixer into your laptop? I hope this makes sense, thanks for the help.