As the question is not clear about the calculation needed, so i will calculate in both ways - compound interest and simple interest.
Given are:
Amount = $500
Rate of interest = 4% or 0.04
Time = 25
n = 1(compounded annually)
Formula for compound interest :

Putting values in the formula:
A= 
= 
= 500*2.665 = $ 1332.50
Hence, amount in the account after 25 years = 500+1332.50= $1832.50
Formula for simple interest:
S.I.=
= 
Interest = 500
Hence, amount in the account after 25 years = 500+500 = $1000