Electrical Trouble

I put the starter relay in and turn the key and got nothing. So I jumped the starter relay and the car fired up. So I went back in the car and turned the key and got nothing. So I put the car in nuetral and the car was trying to start but the starter was making like a fast clicking noise. Then I put the car in park and it did the same thing. I did not wait long enough to see if the car would start either time.