My friend went to the store.
My friend got her money and returned to buy her supplies.
When my friend got to the store, she realized she had brought her wallet.
When my friend got to the store, she realized she had forgotten her wallet.