Hi there,
If you really want to record your guitar you need to think about investing in a dedicated audio device and software. There are lots of options available, some of which are quite cheap others which cost a lot.
What you are trying to do and achieve will dictate the path you need to go down. For example, I use an M-Audio Delta 1010 Audio Card and Cubase software which at current costs in the UK would set you back about £865 in total. However, there are cheaper USB Audio devices that are dedicated to getting Guitar/Microphone input onto your PC and a lot also come with basic recording software.