Thats just it mate..Its experiance..

Eventually you'll get confidence and you wont mind getting hit..
just be sure to keep your hands up and bring em right back after throwing..
Dont worry about missing.. Just get right in there and want to fight..You gota think who cares and take some to give some..dont go wild ..Throw your shots properly and try different combinations and once you have a good session and you think yeah i did alright today and you get a bit proud..Thats when you'll start to enjoy yourself a little more and loosen up..
As of right now your getting used to sparring..Once your used to it is when you get to try new stuff and learn from sparring ..
Good luck