Infertility means not being able to get pregnant after trying for at least 1 year (or 6 months if you're over 35).
It can be caused by problems inside the body. But sometimes no cause can be found.
Being told that you have this problem doesn't necessarily mean that you will never get pregnant. Some people eventually conceive without help. But medical treatments do help many people.