How do I change the size of text. I don't know what I did
You probably had Ctrl down while you scrolled the mouse wheel.
This is the Zoom feature.
See the View menu for the Zoom entry for more options.
@Alan-Kilborn thanks wasn’t expecting a response so quick and what you said is what I did I was scrolling through a very large file and I guess I accidently pressed control