how do I play multiplayer on Minecraft I, have java and it has something to do with the Microsoft account please help.
From the official Minecraft Wiki:
Choose a host computer.
Click "Single Player".
Press ESC inside server
Click "Open to LAN".
After these, you can choose what genre/type of playable gamemode. So choose one of these: (Survival recommended)
Click "Start LAN World"