Polaris 2004 400 No Power to Anything!!!!!!!!!!!

Hey guys! im new to the forums. so im gonna get right into the question. I have a polaris 400 2004 that has been torn down (im 16 and dont know much about mechanics) and it recently would not start! no power to anything not even lights. it will pull start but it wont start because the rip cord thinger on the inside is all rusted and i have no money to spend.. anyways. before it started to not have any power i was riding it and it all of a sudden would shut off on me so while i was moving i started it(this happened many times in 30 mins) and then it just quit.. no power anywhere!!!!! need help soon thank you:veryhappy::veryhappy: