To attain something is to succeed at something or to get something you want.
If you want to attain a healthy body, you must exercise every day.
Example picture