How to potty train a 4-year-old?

Ok yall I need help. My daughter is about to be 4 years old and I have tried everything to get her to use the bathroom but she won’t. She screams or crys. I have had her naked for hours or in undies. She just goes where ever. I have done treats, prizes, stickers, toys. Drinks everything. I am at a loss. Any tips would be great