After servicing unit I put the capacitor back in unit and it sparked and then the compressor would not come on but the outdoor fan did start. Is there an internal overload protection that may have kicked in?

I do not have much experience with these units so I thought I'd ask here.