Retirement tax questions

Form 8582 is not showing in tools but when I attempt to file my state taxes I'm getting the error message for  form 8582