In this paper, we give some results of indecomposable rings in which finitely generated right ideals are automorphism-invariant. They are called f a -rings. It shows that any indecomposable right artinian right Rickart right f a -ring R is Morita equivalent to a formal upper triangular matrix ring. Moreover, we also study endomorphism rings of automorphism-invariant modules.