I have been in the trade for over 20 years (for my sins) . Only use dot 4 or 5.1 NOT mineral.
The mineral will attack the seals leading to a brake failure.
You need to bleed the system by repeatedly pumping the fluid from caliper to lever and vice versa. Use 2 syringes for this. If you have got the available spare cash, buy the bleed kit. The cheaper 'home' use is fine, but I use the pro workshop one- it's just a little quicker.
Make sure you dont round the torx bolts on the lever and caliper, they can be real swines.
If you only have one syringe available. it's just possible to bleed the system... Refill the system from top to bottom. Refit the top torx bolt (lever) and then remove the pads and pressurize the system from the bottom (the pistons will be forced out part way). Open the top torx bolt and a little air will bleed out the top (lightly tap the lever). Close the system. and with a plastic tyre lever push the pistons back into the caliper (otherwise the brake will feel spongey) and refit the pads. OK, so this isn't anywhere ideal, but it will give you a brake..... It'll get you out of trouble....but use the double syringe technique for a proper job.
Use 5.1 if you can, it's less hydroscopic than dot 4.
Best of luck!
Andy