Is there a reason why my singing sounds bad when it is recorded.
You recorded it poorly.
I have gotten compliments from friends and family that my voice was amazing...
Friends and family lie.
but when i went to record, my voice sounded really bad.
It is bad recording with a bad mic in a bad room and then mixed bad.
Is it just natural that i sound amazing to them and horrible to myself and i just have to accept that or will i get used to it later on?
Okay, I had some fun, but in all seriousness; friends and family will lie to you. If you're just starting out, which I can safely assume you are because you're asking this question, there are two things going on; 1) you're hearing your voice for the first time which means, 2) you're recording it for the first time.
So, the real answer is, You have to get used to hearing your own voice AND you have to learn how to get a good recording of your voice. The first part is harder to do, but the second part takes a much longer time. There is mic selection, room treatment, mic technique, singing abilities, mixing and processing, monitors, and the listening environment to consider. There are so many aspects that affect the quality of your recorded voice that you have to learn about before you can really assess whether you voice sucks or not.
And if you want unbiased opinions or advice, post up a clip and let us hear. We'll tell ya straight up if you do or you don't.
One last thing, if your voice does sound horrible, it's not the end of the road. My singing was wretched when I first started and I feel it's come a long way. Takes lots of practice, but I think most anyone can sing and capture a good recording of their singing.
Good luck and have fun!!