As you own a company, you need to know what your role is. You can never just move money into or out of the company, you have to identify the role in which you are doing it, and do it properly.
There is Company, and there is You, in three different roles. You are the sole shareholder and director of Company. You are the sole employee of Company. You are also just a private person. You need to keep these three roles separate. As the sole shareholder, you own the company. However, you don't own any assets of the company. The company is yours, but the money in its bank account isn't.
As a private person, you give a loan to your company. You write on a sheet of paper that You personally, give a loan to the company, how much a loan is, what interest is paid, and when the loan will be paid back (that could be 'whenever You demands the money paid back'). Then you move the money from your private bank account to the company bank account, and the company has the money it needs to fund its operation. Assume it wasn't you who loaned the money, but I gave the loan to the company. You can imagine that I would have this loan written down and signed before I hand over the cash. And you must have exactly the same papers that I would have.
How do you get money from the company? The company can pay back your loan. That should be written down again, in the same way as the loan itself was written down. Other than that, there are three ways how you can get money out of the company: The company can pay You, in your role as its employee, a salary, which it can deduct from its profits. The company can pay money into a pension of the company director (that's You in your role as company director) up to £40,000 or so a year; that money is deducted from its profits again. The company pays 20% tax on its remaining profits. Then the company can pay You, in your role as company director, a dividend, usually twice a year. Each of these payments has to be written down and given to HMRC properly.
Best by far to use an accountant to do all the paper work for you and advice you what to do. You can lose a lot of money by just not getting the paperwork right, by filing late etc., which the accountant will get right. The accountant will also tell you what are the optimal amounts for salary and dividend (best is a small salary, about £10,000 a year, dividend of about £30,000 a year, pension as much as the company can afford, which is then all tax free to you). You can't pay more dividend then the company can afford (paying a dividend and then not being able to pay your suppliers is criminal), and if you want higher dividends, then you will have to pay taxes on them.