Introduction to potential theory